CMake: exclude gitignore & arcconfig for addons

These files were included in releases
This commit is contained in:
Campbell Barton 2016-06-25 21:57:54 +10:00
parent 9c96585f3c
commit bfcf8c8e03
1 changed files with 2 additions and 0 deletions

View File

@ -338,6 +338,8 @@ if(WITH_PYTHON)
DIRECTORY ${CMAKE_SOURCE_DIR}/release/scripts
DESTINATION ${TARGETDIR_VER}
PATTERN ".git" EXCLUDE
PATTERN ".gitignore" EXCLUDE
PATTERN ".arcconfig" EXCLUDE
PATTERN "__pycache__" EXCLUDE
PATTERN "${ADDON_EXCLUDE_CONDITIONAL}" EXCLUDE
PATTERN "${FREESTYLE_EXCLUDE_CONDITIONAL}" EXCLUDE