diff --git a/cmake/etc/Variables.cmake b/cmake/etc/Variables.cmake index 059cae4..60fee7d 100644 --- a/cmake/etc/Variables.cmake +++ b/cmake/etc/Variables.cmake @@ -11,18 +11,19 @@ set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "CMake project example") set(CPACK_DEBIAN_PACKAGE_SECTION "misc") set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional") set(CPACK_SOURCE_IGNORE_FILES - ${CMAKE_BINARY_DIR} - .git/ - .git$ - .gitlab-ci/ - _output/ - files/lib - files/log - .clang-tidy - .cmake-format - .gitignore - .gitmodules - .gitlab-ci.yml - CMakeLists.txt.user.* - ~$ - \\\\..*\\\\.swp$) + "${CMAKE_BINARY_DIR}" + "/\\\\.git/" + "/\\\\.gitlab-ci/" + "^${CMAKE_SOURCE_DIR}/.?build.?/" + "^${CMAKE_SOURCE_DIR}/.?output.?/" + "^${CMAKE_SOURCE_DIR}/files/lib" + "^${CMAKE_SOURCE_DIR}/files/log" + "\\\\.clang-tidy$" + "\\\\.cmake-format$" + "\\\\.gitignore$" + "\\\\.gitattributes$" + "\\\\.gitmodules$" + "\\\\.gitlab-ci.yml" + "CMakeLists.txt.user.*" + "~$" + "\\\\.swp$")