Skip to content

Instantly share code, notes, and snippets.

@bo0ts
Created December 22, 2012 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bo0ts/4360633 to your computer and use it in GitHub Desktop.
Save bo0ts/4360633 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment