CMakeExportBuildSettings
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.