diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-10-05 17:15:34 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-10-05 17:15:34 (GMT) |
commit | f4ab5531789f6c210b21cc13dadc95742da5ef5b (patch) | |
tree | b60ac1a34786cd5b5bfeae629048555d24662eff /Modules | |
parent | a14696f5cef2a8c8c4d5dadb47d1ed1ef0e6a756 (diff) | |
download | CMake-f4ab5531789f6c210b21cc13dadc95742da5ef5b.zip CMake-f4ab5531789f6c210b21cc13dadc95742da5ef5b.tar.gz CMake-f4ab5531789f6c210b21cc13dadc95742da5ef5b.tar.bz2 |
ENH: add support for preprocessed files in borland
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-bcc32.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake index 382bf2d..d333863 100644 --- a/Modules/Platform/Windows-bcc32.cmake +++ b/Modules/Platform/Windows-bcc32.cmake @@ -113,3 +113,7 @@ SET (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_SHARED_LINKER_FLAGS_R SET (CMAKE_C_STANDARD_LIBRARIES_INIT "import32.lib") SET (CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}") +SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE + "cpp32 ${CMAKE_START_TEMP_FILE} ${CMAKE_WCL_QUIET} <FLAGS> -dWIN32 -fo<PREPROCESSED_SOURCE> -pl -cc++ <SOURCE>${CMAKE_END_TEMP_FILE}") +SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE + "cpp32 ${CMAKE_START_TEMP_FILE}-DWIN32 <FLAGS> -o<PREPROCESSED_SOURCE> -c <SOURCE>${CMAKE_END_TEMP_FILE}") |