Переименованы стандартные каталоги для данных (data->share, lib->var)
This commit is contained in:
parent
894a63237a
commit
c6414bbc03
@ -4,19 +4,15 @@ if(NOT TARGET create_auxilary_symlinks)
|
|||||||
add_custom_target(
|
add_custom_target(
|
||||||
create_auxilary_symlinks
|
create_auxilary_symlinks
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/files
|
|
||||||
# Ссылка на каталог с журналами
|
# Ссылка на каталог с журналами
|
||||||
COMMAND ${CMAKE_COMMAND} -E create_symlink
|
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
|
COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||||
${CMAKE_SOURCE_DIR}/files/lib ${CMAKE_BINARY_DIR}/files/lib
|
${CMAKE_SOURCE_DIR}/files/var ${CMAKE_BINARY_DIR}/var
|
||||||
# Ссылка на каталог с временными данными
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E create_symlink
|
|
||||||
${CMAKE_SOURCE_DIR}/files/cache ${CMAKE_BINARY_DIR}/files/cache
|
|
||||||
# Ссылка на каталог с постоянными данными
|
# Ссылка на каталог с постоянными данными
|
||||||
COMMAND ${CMAKE_COMMAND} -E create_symlink
|
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
|
COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||||
${CMAKE_SOURCE_DIR}/files/etc ${CMAKE_BINARY_DIR}/etc)
|
${CMAKE_SOURCE_DIR}/files/etc ${CMAKE_BINARY_DIR}/etc)
|
||||||
|
@ -28,7 +28,7 @@ set(CPACK_SOURCE_IGNORE_FILES
|
|||||||
"${CMAKE_BINARY_DIR}"
|
"${CMAKE_BINARY_DIR}"
|
||||||
"^${CMAKE_SOURCE_DIR}/.?build.?/"
|
"^${CMAKE_SOURCE_DIR}/.?build.?/"
|
||||||
"^${CMAKE_SOURCE_DIR}/.?output.?/"
|
"^${CMAKE_SOURCE_DIR}/.?output.?/"
|
||||||
"^${CMAKE_SOURCE_DIR}/files/lib"
|
"^${CMAKE_SOURCE_DIR}/files/var"
|
||||||
"^${CMAKE_SOURCE_DIR}/files/log"
|
"^${CMAKE_SOURCE_DIR}/files/log"
|
||||||
"CMakeLists.txt.user.*"
|
"CMakeLists.txt.user.*"
|
||||||
".*.autosave"
|
".*.autosave"
|
||||||
|
Loading…
Reference in New Issue
Block a user