... | ... | @@ -15,7 +15,7 @@ CPack can be used directly by specifying a CPackConfig.cmake file, which |
|
|
uses CMake syntax and defines several variables. Here is an example
|
|
|
CPackConfig.cmake file for a Linux system:
|
|
|
|
|
|
<nowiki>SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
|
|
|
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
|
|
|
SET(CPACK_GENERATOR "STGZ;TGZ;TZ")
|
|
|
SET(CPACK_INSTALL_CMAKE_PROJECTS "/home/andy/vtk/CMake-bin;CMake;ALL;/")
|
|
|
SET(CPACK_NSIS_DISPLAY_NAME "CMake 2.5")
|
... | ... | @@ -41,7 +41,7 @@ CPackConfig.cmake file for a Linux system: |
|
|
SET(CPACK_SOURCE_STRIP_FILES "")
|
|
|
SET(CPACK_STRIP_FILES "bin/ccmake;bin/cmake;bin/cpack;bin/ctest")
|
|
|
SET(CPACK_SYSTEM_NAME "Linux-i686")
|
|
|
SET(CPACK_TOPLEVEL_TAG "Linux-i686")</nowiki>
|
|
|
SET(CPACK_TOPLEVEL_TAG "Linux-i686")
|
|
|
|
|
|
These variables can also be overwritten on the command line using the
|
|
|
option
|
... | ... | |