ignore the current build directory when packaging

This makes sure that the current build directory is not packaged
with the regular source tree when `make package_source` is used.
This commit is contained in:
Mario Werner 2016-04-06 09:49:34 +02:00
parent dcbb6b1e4d
commit 620f999e80

View File

@ -93,7 +93,7 @@ if (MASTER_PROJECT AND EXISTS ${gitignore})
string(REPLACE "*" ".*" line "${line}")
set(ignored_files ${ignored_files} "${line}$" "${line}/")
endforeach ()
set(ignored_files ${ignored_files}
set(ignored_files ${ignored_files} ${PROJECT_BINARY_DIR}
/.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees)
set(CPACK_SOURCE_GENERATOR ZIP)