summaryrefslogtreecommitdiffstats
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-06-16 01:43:59 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-06-16 01:43:59 (GMT)
commit9ab387b7d98203af7ee7007ea2c585dfb435d451 (patch)
treeb45cec6ab7b2faba298874621f25b75623d1a7c8 /Modules/CPack.cmake
parentc4dcfd2ed07babb2573d5b79741e9343988c12c1 (diff)
downloadCMake-9ab387b7d98203af7ee7007ea2c585dfb435d451.zip
CMake-9ab387b7d98203af7ee7007ea2c585dfb435d451.tar.gz
CMake-9ab387b7d98203af7ee7007ea2c585dfb435d451.tar.bz2
ENH: add a comment
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 99e19e6..18fe53a 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -20,6 +20,10 @@ MACRO(cpack_set_if_not_set name value)
ENDMACRO(cpack_set_if_not_set)
# Macro to encode variables for the configuration file
+# find any varable that stars with CPACK and create a variable
+# _CPACK_OTHER_VARIABLES_ that contains SET commands for
+# each cpack variable. _CPACK_OTHER_VARIABLES_ is then
+# used as an @ replacment in configure_file for the CPackConfig.
MACRO(cpack_encode_variables)
SET(_CPACK_OTHER_VARIABLES_)
GET_CMAKE_PROPERTY(res VARIABLES)