summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-wcl386.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-05-30 08:52:35 (GMT)
committerBrad King <brad.king@kitware.com>2012-06-12 19:38:48 (GMT)
commit55d7aa4c44d78322df76679db768154568e51385 (patch)
tree229e243a01dc628b519a34d76216fd4c3f43237a /Modules/Platform/Windows-wcl386.cmake
parent31d7a0f2e3a717435da9660bcb2c23654171afda (diff)
downloadCMake-55d7aa4c44d78322df76679db768154568e51385.zip
CMake-55d7aa4c44d78322df76679db768154568e51385.tar.gz
CMake-55d7aa4c44d78322df76679db768154568e51385.tar.bz2
Add platform variable for flags specific to shared libraries
Store in CMAKE_${lang}_COMPILE_OPTIONS_DLL flags from CMAKE_SHARED_LIBRARY_${lang}_FLAGS that are truly exclusive to shared libraries.
Diffstat (limited to 'Modules/Platform/Windows-wcl386.cmake')
-rw-r--r--Modules/Platform/Windows-wcl386.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-wcl386.cmake b/Modules/Platform/Windows-wcl386.cmake
index e1140df..14b3b81 100644
--- a/Modules/Platform/Windows-wcl386.cmake
+++ b/Modules/Platform/Windows-wcl386.cmake
@@ -20,7 +20,8 @@ SET (CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT "debug all" )
SET (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "debug all" )
SET (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT "debug all" )
-set (CMAKE_SHARED_LIBRARY_C_FLAGS "-bd" )
+set(CMAKE_C_COMPILE_OPTIONS_DLL "-bd") # Note: This variable is a ';' separated list
+set(CMAKE_SHARED_LIBRARY_C_FLAGS "-bd") # ... while this is a space separated string.
SET(CMAKE_RC_COMPILER "rc" )