diff --git a/CMLibAuxilarySymlinks.cmake b/CMLibAuxilarySymlinks.cmake index 6a60591..1b05180 100644 --- a/CMLibAuxilarySymlinks.cmake +++ b/CMLibAuxilarySymlinks.cmake @@ -4,19 +4,15 @@ if(NOT TARGET create_auxilary_symlinks) add_custom_target( create_auxilary_symlinks WORKING_DIRECTORY ${CMAKE_BINARY_DIR} - COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/files # Ссылка на каталог с журналами COMMAND ${CMAKE_COMMAND} -E create_symlink - ${CMAKE_SOURCE_DIR}/files/log ${CMAKE_BINARY_DIR}/files/log + ${CMAKE_SOURCE_DIR}/files/log ${CMAKE_BINARY_DIR}/log # Ссылка на каталог с обрабатываемыми данными COMMAND ${CMAKE_COMMAND} -E create_symlink - ${CMAKE_SOURCE_DIR}/files/lib ${CMAKE_BINARY_DIR}/files/lib - # Ссылка на каталог с временными данными - COMMAND ${CMAKE_COMMAND} -E create_symlink - ${CMAKE_SOURCE_DIR}/files/cache ${CMAKE_BINARY_DIR}/files/cache + ${CMAKE_SOURCE_DIR}/files/var ${CMAKE_BINARY_DIR}/var # Ссылка на каталог с постоянными данными COMMAND ${CMAKE_COMMAND} -E create_symlink - ${CMAKE_SOURCE_DIR}/files/data ${CMAKE_BINARY_DIR}/files/data + ${CMAKE_SOURCE_DIR}/files/share ${CMAKE_BINARY_DIR}/share # Ссылка на каталог настроек COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/files/etc ${CMAKE_BINARY_DIR}/etc) diff --git a/CMLibCPack.cmake b/CMLibCPack.cmake index 501feea..0d2297c 100644 --- a/CMLibCPack.cmake +++ b/CMLibCPack.cmake @@ -28,7 +28,7 @@ set(CPACK_SOURCE_IGNORE_FILES "${CMAKE_BINARY_DIR}" "^${CMAKE_SOURCE_DIR}/.?build.?/" "^${CMAKE_SOURCE_DIR}/.?output.?/" - "^${CMAKE_SOURCE_DIR}/files/lib" + "^${CMAKE_SOURCE_DIR}/files/var" "^${CMAKE_SOURCE_DIR}/files/log" "CMakeLists.txt.user.*" ".*.autosave" diff --git a/README.md b/README.md index 97350cc..f33e5b3 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ set(CPACK_SOURCE_IGNORE_FILES obj.*/ _build/ _output/ + files/log files/var CMakeLists.txt.user ~$