Skip to content

Commit 2298873

Browse files
committed
cpack: ignore more files [skip ci]
1 parent cf15498 commit 2298873

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmake/install.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ set(CPACK_OUTPUT_FILE_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/package")
3636
set(CPACK_PACKAGE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
3737

3838
# not .gitignore as its regex syntax is more advanced than CMake
39-
set(CPACK_SOURCE_IGNORE_FILES ".git/;.git*/;.vscode/;.mypy_cache/;_CPack_Packages/;${CMAKE_BINARY_DIR}/")
39+
set(CPACK_SOURCE_IGNORE_FILES .git/ .github/ .vscode/ .mypy_cache/ _CPack_Packages/
40+
${CMAKE_BINARY_DIR}/ ${PROJECT_BINARY_DIR}/
41+
.archive/ concepts/ paper/
42+
)
4043

4144
install(FILES ${CPACK_RESOURCE_FILE_README} ${CPACK_RESOURCE_FILE_LICENSE}
4245
DESTINATION share/docs/${PROJECT_NAME}

0 commit comments

Comments
 (0)