mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
0ddfc51f6a
Previously, it was inconsistent in that some platforms/compilers had this flag for the RelWithDebInfo configuration and some didn't. This fixes issue #11366.
11 lines
472 B
CMake
11 lines
472 B
CMake
set(CMAKE_C_VERBOSE_FLAG "-v")
|
|
|
|
set(CMAKE_C_FLAGS_INIT "")
|
|
set(CMAKE_C_FLAGS_DEBUG_INIT "-g")
|
|
set(CMAKE_C_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
|
|
set(CMAKE_C_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
|
|
set(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG")
|
|
|
|
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>")
|