gas.cmake 671 B

12345678910111213141516171819
  1. if(UNIX)
  2. set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .o)
  3. else()
  4. set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .obj)
  5. endif()
  6. set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>")
  7. set(CMAKE_ASM${ASM_DIALECT}_CREATE_STATIC_LIBRARY
  8. "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS> "
  9. "<CMAKE_RANLIB> <TARGET> ")
  10. set(CMAKE_ASM${ASM_DIALECT}_LINK_EXECUTABLE
  11. "<CMAKE_LINKER> <FLAGS> <CMAKE_ASM${ASM_DIALECT}_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
  12. # to be done
  13. set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_LIBRARY)
  14. set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_MODULE)