mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-29 23:22:35 +00:00
11 lines
419 B
CMake
11 lines
419 B
CMake
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
|
|
|
|
# no optimization in tcc:
|
|
string(APPEND CMAKE_C_FLAGS_INIT " ")
|
|
string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -g")
|
|
string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
|
|
string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -DNDEBUG")
|
|
string(APPEND CMAKE_C_FLAGS_RELWITHDEBINFO_INIT " -g -DNDEBUG")
|
|
|
|
set(CMAKE_C_LINKER_WRAPPER_FLAG "-Wl,")
|
|
set(CMAKE_C_LINKER_WRAPPER_FLAG_SEP ",")
|