diff options
author | Brad King <brad.king@kitware.com> | 2009-12-02 20:17:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-12-02 20:17:53 (GMT) |
commit | 4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa (patch) | |
tree | 3665c5144e0d62b4c9150064babc6bf322802447 /Modules/Platform/OSF1.cmake | |
parent | 9daa4a6c3f3106adf02c9f8bc587fa8096a56b3b (diff) | |
download | CMake-4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa.zip CMake-4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa.tar.gz CMake-4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa.tar.bz2 |
Reduce duplication in Platform/<os>.cmake files
Several platform-wide linker flag variables are defined in
Modules/Platform/<os>.cmake files for C and then copied by the
Modules/CMake<lang>Information.cmake file for each language.
We now use this approach for the variables
CMAKE_EXE_EXPORTS_${lang}_FLAG
CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG
CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS
to avoid duplication for multiple languages in each platform file.
Diffstat (limited to 'Modules/Platform/OSF1.cmake')
-rw-r--r-- | Modules/Platform/OSF1.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Platform/OSF1.cmake b/Modules/Platform/OSF1.cmake index 27af3b1..652bed4 100644 --- a/Modules/Platform/OSF1.cmake +++ b/Modules/Platform/OSF1.cmake @@ -12,7 +12,6 @@ ENDIF(CMAKE_SYSTEM MATCHES "OSF1-1.*") IF(CMAKE_SYSTEM MATCHES "OSF1-V.*") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -Wl,-expect_unresolved,\\*") # -shared - SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared -Wl,-expect_unresolved,\\*") # -shared IF(CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-Wl,-rpath,") ELSE(CMAKE_COMPILER_IS_GNUCXX) |