summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeExportBuildSettings.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-12-14 18:51:08 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-12-14 18:51:08 (GMT)
commitb7fa820118d6989ca4d77dbfcc972c2e903bfe2a (patch)
treea5605c468a458597fff5f17485fad8cd85856e1b /Modules/CMakeExportBuildSettings.cmake
parent805d365d479a916acf2c5638809fb046fc28dc97 (diff)
downloadCMake-b7fa820118d6989ca4d77dbfcc972c2e903bfe2a.zip
CMake-b7fa820118d6989ca4d77dbfcc972c2e903bfe2a.tar.gz
CMake-b7fa820118d6989ca4d77dbfcc972c2e903bfe2a.tar.bz2
ENH: add documentation support for modules
Diffstat (limited to 'Modules/CMakeExportBuildSettings.cmake')
-rw-r--r--Modules/CMakeExportBuildSettings.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/CMakeExportBuildSettings.cmake b/Modules/CMakeExportBuildSettings.cmake
index 1ec8b8a..d24f28c 100644
--- a/Modules/CMakeExportBuildSettings.cmake
+++ b/Modules/CMakeExportBuildSettings.cmake
@@ -1,6 +1,7 @@
-# Macro to export the build settings for use by another project.
-# Provide as an argument the file into which the settings are to be
-# stored.
+# - export build settings from a project.
+# CMAKE_EXPORT_BUILD_SETTINGS(SETTINGS_FILE) - macro defined to export the build
+# settings for use by another project.
+# SETTINGS_FILE - the file into which the settings are to be stored.
MACRO(CMAKE_EXPORT_BUILD_SETTINGS SETTINGS_FILE)
IF(${SETTINGS_FILE} MATCHES ".+")
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeBuildSettings.cmake.in