2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
|
2011-12-03 15:21:48 +04:00
|
|
|
|
|
|
|
# no optimization in tcc:
|
2016-07-05 20:35:13 +03:00
|
|
|
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")
|