mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
This moves platform-independent XL compiler flags into separate "Compiler/XL-<lang>.cmake" modules. Platform-specific flags go in "Platform/<os>-XL-<lang>.cmake" modules.
10 lines
430 B
CMake
10 lines
430 B
CMake
SET(CMAKE_C_VERBOSE_FLAG "-V")
|
|
|
|
SET(CMAKE_C_FLAGS_DEBUG_INIT "-g")
|
|
SET(CMAKE_C_FLAGS_RELEASE_INIT "-O -DNDEBUG")
|
|
SET(CMAKE_C_FLAGS_MINSIZEREL_INIT "-O -DNDEBUG")
|
|
SET(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g")
|
|
|
|
SET(CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
|
|
SET(CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
|