... | ... | @@ -66,7 +66,7 @@ the package. |
|
|
|
|
|
An example output of the *"package"* target (from a Linux Makefile) is:
|
|
|
|
|
|
<nowiki>Run CPack packaging tool...
|
|
|
Run CPack packaging tool...
|
|
|
CPack: Create package using STGZ
|
|
|
CPack: Install projects
|
|
|
CPack: - Run preinstall target for: CMake
|
... | ... | @@ -90,7 +90,7 @@ An example output of the *"package"* target (from a Linux Makefile) is: |
|
|
CPack: - Strip files
|
|
|
CPack: Compress package
|
|
|
CPack: Finalize package
|
|
|
CPack: Package /home/andy/CMake-bin/cmake-2.5.0-Linux-i686.tar.Z generated.</nowiki>
|
|
|
CPack: Package /home/andy/CMake-bin/cmake-2.5.0-Linux-i686.tar.Z generated.
|
|
|
|
|
|
## Using CMake variables to configure CPack
|
|
|
|
... | ... | @@ -101,7 +101,6 @@ file before CPack is invoked. |
|
|
|
|
|
This is an example CMake list section for CPack configuration:
|
|
|
|
|
|
<nowiki>
|
|
|
INCLUDE(InstallRequiredSystemLibraries)
|
|
|
|
|
|
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "My funky project")
|
... | ... | @@ -127,7 +126,7 @@ This is an example CMake list section for CPack configuration: |
|
|
SET(CPACK_SOURCE_STRIP_FILES "")
|
|
|
ENDIF(WIN32 AND NOT UNIX)
|
|
|
SET(CPACK_PACKAGE_EXECUTABLES "MyExecutable" "My Executable")
|
|
|
INCLUDE(CPack)</nowiki>
|
|
|
INCLUDE(CPack)
|
|
|
|
|
|
## CPack Generators
|
|
|
|
... | ... | |