forked from fmtlib/fmt
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:
@ -93,7 +93,7 @@ if (MASTER_PROJECT AND EXISTS ${gitignore})
|
|||||||
string(REPLACE "*" ".*" line "${line}")
|
string(REPLACE "*" ".*" line "${line}")
|
||||||
set(ignored_files ${ignored_files} "${line}$" "${line}/")
|
set(ignored_files ${ignored_files} "${line}$" "${line}/")
|
||||||
endforeach ()
|
endforeach ()
|
||||||
set(ignored_files ${ignored_files}
|
set(ignored_files ${ignored_files} ${PROJECT_BINARY_DIR}
|
||||||
/.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees)
|
/.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees)
|
||||||
|
|
||||||
set(CPACK_SOURCE_GENERATOR ZIP)
|
set(CPACK_SOURCE_GENERATOR ZIP)
|
||||||
|
Reference in New Issue
Block a user