TinyCC-C.cmake 419 B

1234567891011
  1. set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
  2. # no optimization in tcc:
  3. string(APPEND CMAKE_C_FLAGS_INIT " ")
  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 "-Wl,")
  9. set(CMAKE_C_LINKER_WRAPPER_FLAG_SEP ",")