summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-wcl386.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-01 15:06:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-04-01 15:06:08 (GMT)
commit382c9ee85948e8e7291e5414ce37967e08c56fe2 (patch)
tree4e4e669a82ea92accf5ef20595c80f9883a6fbc4 /Modules/Platform/Windows-wcl386.cmake
parent09498984b13ef2a61992dda0afacd3b050049f88 (diff)
parent423009c17f50f837bca178a2cc5edfd62963f1ea (diff)
downloadCMake-382c9ee85948e8e7291e5414ce37967e08c56fe2.zip
CMake-382c9ee85948e8e7291e5414ce37967e08c56fe2.tar.gz
CMake-382c9ee85948e8e7291e5414ce37967e08c56fe2.tar.bz2
Merge topic 'link-line-quoting'
423009c1 Makefile: Generate single-quoted object lists for Watcom a863a8fe cmLocalUnixMakefileGenerator3: Re-organize ConvertToQuotedOutputPath
Diffstat (limited to 'Modules/Platform/Windows-wcl386.cmake')
-rw-r--r--Modules/Platform/Windows-wcl386.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-wcl386.cmake b/Modules/Platform/Windows-wcl386.cmake
index 6b1cfd1..617761b 100644
--- a/Modules/Platform/Windows-wcl386.cmake
+++ b/Modules/Platform/Windows-wcl386.cmake
@@ -39,6 +39,11 @@ set (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-br -bm -d2 -ot -dNDEBUG")
set (CMAKE_C_STANDARD_LIBRARIES_INIT "library clbrdll.lib library plbrdll.lib library kernel32.lib library user32.lib library gdi32.lib library winspool.lib library comdlg32.lib library advapi32.lib library shell32.lib library ole32.lib library oleaut32.lib library uuid.lib library odbc32.lib library odbccp32.lib")
set (CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}")
+foreach(type CREATE_SHARED_LIBRARY CREATE_SHARED_MODULE LINK_EXECUTABLE)
+ set(CMAKE_C_${type}_USE_WATCOM_QUOTE 1)
+ set(CMAKE_CXX_${type}_USE_WATCOM_QUOTE 1)
+endforeach()
+
set(CMAKE_C_CREATE_IMPORT_LIBRARY
"wlib -c -q -n -b <TARGET_IMPLIB> +<TARGET_QUOTED>")
set(CMAKE_CXX_CREATE_IMPORT_LIBRARY ${CMAKE_C_CREATE_IMPORT_LIBRARY})