diff options
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/CXXCMakeSystemConfig.cmake.in | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/Templates/CXXCMakeSystemConfig.cmake.in b/Templates/CXXCMakeSystemConfig.cmake.in index 326afbd..8ce8e15 100644 --- a/Templates/CXXCMakeSystemConfig.cmake.in +++ b/Templates/CXXCMakeSystemConfig.cmake.in @@ -13,45 +13,49 @@ SET(CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP "@CMAKE_CXX_SHLIB_RUNTIME_SEP@") # if no CXX versions of these exist, then use the c versions IF( CMAKE_CXX_SHLIB_CFLAGS_TMP ) - SET(CMAKE_CXX_SHLIB_CFLAGS "${CMAKE_CXX_SHLIB_CFLAGS_TMP}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_CFLAGS "${CMAKE_CXX_SHLIB_CFLAGS_TMP}" CACHE STRING + "Flag used for building shared library objects.") ELSE( CMAKE_CXX_SHLIB_CFLAGS_TMP ) - SET(CMAKE_CXX_SHLIB_CFLAGS "${CMAKE_SHLIB_CFLAGS}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_CFLAGS "${CMAKE_SHLIB_CFLAGS}" CACHE STRING + "Flag used for building shared library objects.") ENDIF( CMAKE_CXX_SHLIB_CFLAGS_TMP ) IF( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP ) - SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP}" CACHE STRING "Flag used by CXX to build a shared library.") ELSE( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP ) - SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_SHLIB_BUILD_FLAGS}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_SHLIB_BUILD_FLAGS}" CACHE STRING "Flag used by CXX to build a shared library.") ENDIF( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP ) IF( CMAKE_CXX_SHLIB_LINK_FLAGS_TMP ) - SET(CMAKE_CXX_SHLIB_LINK_FLAGS "${CMAKE_CXX_SHLIB_LINK_FLAGS_TMP}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_LINK_FLAGS "${CMAKE_CXX_SHLIB_LINK_FLAGS_TMP}" CACHE STRING "Flags used to link a shared library.") ELSE( CMAKE_CXX_SHLIB_LINK_FLAGS_TMP ) - SET(CMAKE_CXX_SHLIB_LINK_FLAGS "${CMAKE_SHLIB_LINK_FLAGS}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_LINK_FLAGS "${CMAKE_SHLIB_LINK_FLAGS}" CACHE STRING + "Flags used to link a shared library.") ENDIF( CMAKE_CXX_SHLIB_LINK_FLAGS_TMP ) IF( CMAKE_CXX_MODULE_BUILD_FLAGS_TMP ) - SET(CMAKE_CXX_MODULE_BUILD_FLAGS "${CMAKE_CXX_MODULE_BUILD_FLAGS_TMP}" CACHE STRING "" ) + SET(CMAKE_CXX_MODULE_BUILD_FLAGS "${CMAKE_CXX_MODULE_BUILD_FLAGS_TMP}" CACHE STRING "Flag used by CXX to build a shared library.") ELSE( CMAKE_CXX_MODULE_BUILD_FLAGS_TMP ) - SET(CMAKE_CXX_MODULE_BUILD_FLAGS "${CMAKE_MODULE_BUILD_FLAGS}" CACHE STRING "" ) + SET(CMAKE_CXX_MODULE_BUILD_FLAGS "${CMAKE_MODULE_BUILD_FLAGS}" CACHE STRING "Flag used by CXX to build a shared library.") ENDIF( CMAKE_CXX_MODULE_BUILD_FLAGS_TMP ) IF( CMAKE_CXX_MODULE_LINK_FLAGS_TMP ) - SET(CMAKE_CXX_MODULE_LINK_FLAGS "${CMAKE_CXX_MODULE_LINK_FLAGS_TMP}" CACHE STRING "") + SET(CMAKE_CXX_MODULE_LINK_FLAGS "${CMAKE_CXX_MODULE_LINK_FLAGS_TMP}" CACHE STRING "Flags used to link a shared library.") ELSE( CMAKE_CXX_MODULE_LINK_FLAGS_TMP ) - SET(CMAKE_CXX_MODULE_LINK_FLAGS "${CMAKE_MODULE_LINK_FLAGS}" CACHE STRING "") + SET(CMAKE_CXX_MODULE_LINK_FLAGS "${CMAKE_MODULE_LINK_FLAGS}" CACHE STRING + "Flags used to link a shared library.") ENDIF( CMAKE_CXX_MODULE_LINK_FLAGS_TMP ) IF( CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP ) - SET(CMAKE_CXX_SHLIB_RUNTIME_FLAG "${CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_RUNTIME_FLAG "${CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP}" CACHE STRING "Flag used to specify run-time search paths.") ELSE( CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP ) - SET(CMAKE_CXX_SHLIB_RUNTIME_FLAG "${CMAKE_SHLIB_RUNTIME_FLAG}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_RUNTIME_FLAG "${CMAKE_SHLIB_RUNTIME_FLAG}" CACHE STRING "Flag used to specify run-time search paths.") ENDIF( CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP ) IF( CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP ) - SET(CMAKE_CXX_SHLIB_RUNTIME_SEP "${CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_RUNTIME_SEP "${CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP}" CACHE STRING "If null, each runtime path is a separate option. Otherwise, they are all joined, separated by this.") ELSE( CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP ) - SET(CMAKE_CXX_SHLIB_RUNTIME_SEP "${CMAKE_SHLIB_RUNTIME_SEP}" CACHE STRING "") + SET(CMAKE_CXX_SHLIB_RUNTIME_SEP "${CMAKE_SHLIB_RUNTIME_SEP}" CACHE STRING "If null, each runtime path is a separate option. Otherwise, they are all joined, separated by this.") ENDIF( CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP ) SET(CMAKE_CXX_LINK_SHARED "@CMAKE_CXX_LINK_SHARED@" CACHE STRING |