summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-13 19:13:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-13 19:13:51 (GMT)
commitf2c0dbd164796aabe5397f4a053c22fe76030b80 (patch)
treea8d09cd4d91520a25a64c1cf2cccef9182652fd7 /Modules
parent4904db4c8f856213fad9976c5b5ce9071dd08bdf (diff)
downloadCMake-f2c0dbd164796aabe5397f4a053c22fe76030b80.zip
CMake-f2c0dbd164796aabe5397f4a053c22fe76030b80.tar.gz
CMake-f2c0dbd164796aabe5397f4a053c22fe76030b80.tar.bz2
ENH: More work on the packaging. Add Applicaitons, add icons, etc
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPack.DS_Store.inbin0 -> 12292 bytes
-rw-r--r--Modules/CPack.VolumeIcon.icns.inbin0 -> 45739 bytes
-rw-r--r--Modules/CPack.background.png.inbin0 -> 50482 bytes
-rw-r--r--Modules/CPack.cmake3
4 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CPack.DS_Store.in b/Modules/CPack.DS_Store.in
new file mode 100644
index 0000000..5be0eeb
--- /dev/null
+++ b/Modules/CPack.DS_Store.in
Binary files differ
diff --git a/Modules/CPack.VolumeIcon.icns.in b/Modules/CPack.VolumeIcon.icns.in
new file mode 100644
index 0000000..c59217e
--- /dev/null
+++ b/Modules/CPack.VolumeIcon.icns.in
Binary files differ
diff --git a/Modules/CPack.background.png.in b/Modules/CPack.background.png.in
new file mode 100644
index 0000000..3fa92b5
--- /dev/null
+++ b/Modules/CPack.background.png.in
Binary files differ
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 50c55a7..7f496aa 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -123,6 +123,9 @@ cpack_set_if_not_set(CPACK_OUTPUT_CONFIG_FILE
cpack_set_if_not_set(CPACK_SOURCE_OUTPUT_CONFIG_FILE
"${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake")
+cpack_set_if_not_set(CPACK_USE_DESTDIR ON)
+cpack_set_if_not_set(CPACK_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
cpack_encode_variables()
CONFIGURE_FILE("${cpack_input_file}" "${CPACK_OUTPUT_CONFIG_FILE}" @ONLY IMMEDIATE)