Browse Source

Add CPack targets for source package generation

pull/5/head
François Grisez 9 years ago
parent
commit
b5fc78a9e8
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      CMakeLists.txt

+ 12
- 0
CMakeLists.txt View File

@ -114,3 +114,15 @@ if (NOT ENABLE_MSPLUGIN)
DESTINATION ${CONFIG_PACKAGE_LOCATION}
)
endif()
# CPack settings
set(CPACK_PACKAGE_NAME "bcg729")
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
set(CPACK_SOURCE_IGNORE_FILES
"^${CMAKE_BINARY_DIR}"
"/\\\\..+"
)
include(CPack)

Loading…
Cancel
Save