From cd3d44881fce040c4210ad7617014a109687b494 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 9 Aug 2006 13:59:22 -0400 Subject: ENH: Enabling preprocessed source and asembly source generation rules on AIX compilers. --- Modules/Platform/AIX.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Modules/Platform/AIX.cmake b/Modules/Platform/AIX.cmake index be02529..f1b3d03 100644 --- a/Modules/Platform/AIX.cmake +++ b/Modules/Platform/AIX.cmake @@ -31,3 +31,13 @@ ELSE(CMAKE_COMPILER_IS_GNUCC) SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-O -DNDEBUG") SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g") ENDIF(CMAKE_COMPILER_IS_GNUCC) + +IF(NOT CMAKE_COMPILER_IS_GNUCC) + SET (CMAKE_C_CREATE_PREPROCESSED_SOURCE " -E > ") + SET (CMAKE_C_CREATE_ASSEMBLY_SOURCE " -S -o ") +ENDIF(NOT CMAKE_COMPILER_IS_GNUCC) + +IF(NOT CMAKE_COMPILER_IS_GNUCXX) + SET (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE " -E > ") + SET (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE " -S -o ") +ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) -- cgit v0.12