public
Created

  • Download Gist
CMakeLists.txt
CMake
1 2 3 4 5 6 7 8
project(foobar)
 
install(DIRECTORY projectA/include DESTINATION include)
install(DIRECTORY projectB/include DESTINATION include)
 
set(CPACK_SOURCE_GENERATOR "TBZ2")
set(CPACK_SOURCE_IGNORE_FILES "${CPACK_SOURCE_IGNORE_FILES};.git/;.gitignore;.gitattributes;/build*/")
include(CPack)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.