summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeExportBuildSettings.cmake
diff options
context:
space:
mode:
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