From f4ab5531789f6c210b21cc13dadc95742da5ef5b Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 5 Oct 2007 13:15:34 -0400 Subject: ENH: add support for preprocessed files in borland --- Modules/Platform/Windows-bcc32.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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} -dWIN32 -fo -pl -cc++ ${CMAKE_END_TEMP_FILE}") +SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE + "cpp32 ${CMAKE_START_TEMP_FILE}-DWIN32 -o -c ${CMAKE_END_TEMP_FILE}") -- cgit v0.12