Bruce-C.cmake 434 B

123456789
  1. # Bruce C Compiler ignores "-g" flag and optimization cannot be
  2. # enabled here (it is implemented only for 8086 target).
  3. string(APPEND CMAKE_C_FLAGS_INIT " -D__CLASSIC_C__")
  4. string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -g")
  5. string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
  6. string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -DNDEBUG")
  7. string(APPEND CMAKE_C_FLAGS_RELWITHDEBINFO_INIT " -g -DNDEBUG")
  8. set(CMAKE_C_LINKER_WRAPPER_FLAG "-X")