You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
434 B
10 lines
434 B
# Bruce C Compiler ignores "-g" flag and optimization cannot be
|
|
# enabled here (it is implemented only for 8086 target).
|
|
string(APPEND CMAKE_C_FLAGS_INIT " -D__CLASSIC_C__")
|
|
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 "-X")
|