Fix building source package

This commit is contained in:
Victor Zverovich 2016-05-08 07:28:34 -07:00
parent d2b65f77e8
commit fb67a2f660
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -9,8 +9,9 @@ virtualenv
*.a
*.so*
*.zip
/*.cmake
cmake_install.cmake
CPack*.cmake
fmt-*.cmake
CTestTestfile.cmake
CMakeCache.txt
CMakeFiles

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} ${PROJECT_BINARY_DIR}
set(ignored_files ${ignored_files}
/.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees)
set(CPACK_SOURCE_GENERATOR ZIP)