Generic-ADSP-CXX.cmake 791 B

1234567891011121314151617181920
  1. include(Platform/Generic-ADSP-Common)
  2. set(CMAKE_CXX_OUTPUT_EXTENSION ".doj")
  3. string(APPEND CMAKE_CXX_FLAGS_DEBUG_INIT " -g")
  4. string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " ")
  5. string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " ")
  6. string(APPEND CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT " ")
  7. set(CMAKE_CXX_LINKER_WRAPPER_FLAG "-flags-link" " ")
  8. set(CMAKE_CXX_LINKER_WRAPPER_FLAG_SEP ",")
  9. set(CMAKE_CXX_CREATE_STATIC_LIBRARY
  10. "<CMAKE_CXX_COMPILER> -build-lib -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -o <TARGET> <CMAKE_CXX_LINK_FLAGS> <OBJECTS>")
  11. set(CMAKE_CXX_LINK_EXECUTABLE
  12. "<CMAKE_CXX_COMPILER> <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
  13. set(CMAKE_CXX_CREATE_SHARED_LIBRARY)
  14. set(CMAKE_CXX_CREATE_MODULE_LIBRARY)