diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-25 15:58:20 -0500 |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-25 15:58:20 -0500 |
commit | 41be7a401b78f1a46ecebd2c3dbefa38569406b8 (patch) | |
tree | 7523985440d597646abc89e969be577540de7875 /Templates | |
parent | 2f639d37b50ad37b28d001a023fc39e21ceda559 (diff) | |
download | cmake-41be7a401b78f1a46ecebd2c3dbefa38569406b8.tar.gz |
Add suffixes
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/CMakeDotNetSystemConfig.cmake | 24 | ||||
-rw-r--r-- | Templates/CMakeWindowsSystemConfig.cmake | 22 |
2 files changed, 44 insertions, 2 deletions
diff --git a/Templates/CMakeDotNetSystemConfig.cmake b/Templates/CMakeDotNetSystemConfig.cmake index f20e0995b7..9820557926 100644 --- a/Templates/CMakeDotNetSystemConfig.cmake +++ b/Templates/CMakeDotNetSystemConfig.cmake @@ -52,6 +52,23 @@ SET (CMAKE_SIZEOF_SHORT 2 CACHE INTERNAL "Size of short data type") SET (CMAKE_SIZEOF_FLOAT 4 CACHE INTERNAL "Size of float data type") SET (CMAKE_SIZEOF_DOUBLE 8 CACHE INTERNAL "Size of double data type") +# Suffixes + +SET (CMAKE_EXECUTABLE_SUFFIX ".exe" CACHE INTERNAL + "Executable suffix.") + +SET (CMAKE_MODULE_SUFFIX ".dll" CACHE INTERNAL + "Module library suffix.") + +SET (CMAKE_OBJECT_FILE_SUFFIX ".obj" CACHE INTERNAL + "Object file suffix.") + +SET (CMAKE_SHLIB_SUFFIX ".dll" CACHE INTERNAL + "Shared library suffix.") + +SET (CMAKE_STATICLIB_SUFFIX ".lib" CACHE INTERNAL + "Static library suffix.") + # The following variables are advanced MARK_AS_ADVANCED( @@ -64,6 +81,9 @@ CMAKE_USE_WIN32_THREADS CMAKE_MAKE_PROGRAM CMAKE_EXTRA_LINK_FLAGS MICROSOFT_DEVENV +CMAKE_EXECUTABLE_SUFFIX +CMAKE_MODULE_SUFFIX +CMAKE_OBJECT_FILE_SUFFIX +CMAKE_SHLIB_SUFFIX +CMAKE_STATICLIB_SUFFIX ) - - diff --git a/Templates/CMakeWindowsSystemConfig.cmake b/Templates/CMakeWindowsSystemConfig.cmake index ab43485022..d42a5633d2 100644 --- a/Templates/CMakeWindowsSystemConfig.cmake +++ b/Templates/CMakeWindowsSystemConfig.cmake @@ -42,6 +42,23 @@ SET (CMAKE_SIZEOF_SHORT 2 CACHE INTERNAL "Size of short data type") SET (CMAKE_SIZEOF_FLOAT 4 CACHE INTERNAL "Size of float data type") SET (CMAKE_SIZEOF_DOUBLE 8 CACHE INTERNAL "Size of double data type") +# Suffixes + +SET (CMAKE_EXECUTABLE_SUFFIX ".exe" CACHE INTERNAL + "Executable suffix.") + +SET (CMAKE_MODULE_SUFFIX ".dll" CACHE INTERNAL + "Module library suffix.") + +SET (CMAKE_OBJECT_FILE_SUFFIX ".obj" CACHE INTERNAL + "Object file suffix.") + +SET (CMAKE_SHLIB_SUFFIX ".dll" CACHE INTERNAL + "Shared library suffix.") + +SET (CMAKE_STATICLIB_SUFFIX ".lib" CACHE INTERNAL + "Static library suffix.") + # The following variables are advanced MARK_AS_ADVANCED( @@ -56,6 +73,11 @@ CMAKE_CXX_FLAGS_DEBUG CMAKE_USE_WIN32_THREADS CMAKE_MAKE_PROGRAM CMAKE_EXTRA_LINK_FLAGS +CMAKE_EXECUTABLE_SUFFIX +CMAKE_MODULE_SUFFIX +CMAKE_OBJECT_FILE_SUFFIX +CMAKE_SHLIB_SUFFIX +CMAKE_STATICLIB_SUFFIX ) |