diff options
author | Brad King <brad.king@kitware.com> | 2007-05-16 17:26:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-16 17:26:47 (GMT) |
commit | e1260b846813785a4c807e0e9aad1776905bfea7 (patch) | |
tree | 641b624157469f13f8ee974b5006e1960816c0ec /Modules | |
parent | 142210997f803cd64f93795980dbf6dd38182697 (diff) | |
download | CMake-e1260b846813785a4c807e0e9aad1776905bfea7.zip CMake-e1260b846813785a4c807e0e9aad1776905bfea7.tar.gz CMake-e1260b846813785a4c807e0e9aad1776905bfea7.tar.bz2 |
ENH: Enabled preprocessor make rules for Watcom.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-wcl386.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-wcl386.cmake b/Modules/Platform/Windows-wcl386.cmake index acec459..e19b4aa 100644 --- a/Modules/Platform/Windows-wcl386.cmake +++ b/Modules/Platform/Windows-wcl386.cmake @@ -42,6 +42,14 @@ SET(CMAKE_CXX_COMPILE_OBJECT SET(CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> ${CMAKE_START_TEMP_FILE} ${CMAKE_WCL_QUIET} <FLAGS> -dWIN32 -fo<OBJECT> -c -cc <SOURCE>${CMAKE_END_TEMP_FILE}") +# preprocess a C source file +SET(CMAKE_C_CREATE_PREPROCESSED_SOURCE + "<CMAKE_C_COMPILER> ${CMAKE_START_TEMP_FILE} ${CMAKE_WCL_QUIET} <FLAGS> -dWIN32 -fo<PREPROCESSED_SOURCE> -pl -cc <SOURCE>${CMAKE_END_TEMP_FILE}") + +# preprocess a C++ source file +SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE + "<CMAKE_CXX_COMPILER> ${CMAKE_START_TEMP_FILE} ${CMAKE_WCL_QUIET} <FLAGS> -dWIN32 -fo<PREPROCESSED_SOURCE> -pl -cc++ <SOURCE>${CMAKE_END_TEMP_FILE}") + SET(CMAKE_CXX_CREATE_SHARED_MODULE "wlink ${CMAKE_START_TEMP_FILE} system nt_dll ${CMAKE_WLINK_QUIET} name <TARGET> option caseexact file {<OBJECTS>} <LINK_LIBRARIES> ${CMAKE_END_TEMP_FILE}") SET(CMAKE_CXX_CREATE_SHARED_LIBRARY |