TI-C.cmake 1.1 KB

123456789101112131415161718
  1. set(CMAKE_LIBRARY_PATH_FLAG "--search_path=")
  2. set(CMAKE_LINK_LIBRARY_FLAG "--library=")
  3. set(CMAKE_INCLUDE_FLAG_C "--include_path=")
  4. set(CMAKE_C90_STANDARD_COMPILE_OPTION "--c89")
  5. set(CMAKE_C90_EXTENSION_COMPILE_OPTION "--c89 --relaxed_ansi")
  6. set(CMAKE_C99_STANDARD_COMPILE_OPTION "--c99")
  7. set(CMAKE_C99_EXTENSION_COMPILE_OPTION "--c99 --relaxed_ansi")
  8. set(CMAKE_DEPFILE_FLAGS_C "--preproc_with_compile --preproc_dependency=<DEPFILE>")
  9. set(CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> --compile_only --skip_assembler --c_file=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<ASSEMBLY_SOURCE>")
  10. set(CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> --preproc_only --c_file=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<PREPROCESSED_SOURCE>")
  11. set(CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> --compile_only --c_file=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<OBJECT>")
  12. set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> -r <TARGET> <OBJECTS>")
  13. set(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> --run_linker --output_file=<TARGET> --map_file=<TARGET>.map <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> <LINK_LIBRARIES>")