mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 19:49:51 +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.
9 lines
287 B
CMake
9 lines
287 B
CMake
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
|
|
|
|
# no optimization in tcc:
|
|
set (CMAKE_C_FLAGS_INIT "")
|
|
set (CMAKE_C_FLAGS_DEBUG_INIT "-g")
|
|
set (CMAKE_C_FLAGS_MINSIZEREL_INIT "-DNDEBUG")
|
|
set (CMAKE_C_FLAGS_RELEASE_INIT "-DNDEBUG")
|
|
set (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g -DNDEBUG")
|