2012-08-13 21:47:32 +04:00
|
|
|
include(Platform/Generic-ADSP-Common)
|
2007-07-12 21:41:00 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_OUTPUT_EXTENSION ".doj")
|
2007-07-12 21:41:00 +04:00
|
|
|
|
2016-07-05 20:35:13 +03:00
|
|
|
string(APPEND CMAKE_CXX_FLAGS_DEBUG_INIT " -g")
|
|
|
|
string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " ")
|
|
|
|
string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " ")
|
|
|
|
string(APPEND CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT " ")
|
2007-07-12 21:41:00 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_CREATE_STATIC_LIBRARY
|
2007-07-12 21:41:00 +04:00
|
|
|
"<CMAKE_CXX_COMPILER> -build-lib -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -o <TARGET> <CMAKE_CXX_LINK_FLAGS> <OBJECTS>")
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_LINK_EXECUTABLE
|
2007-07-12 21:41:00 +04:00
|
|
|
"<CMAKE_CXX_COMPILER> <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_CREATE_SHARED_LIBRARY)
|
|
|
|
set(CMAKE_CXX_CREATE_MODULE_LIBRARY)
|
2007-07-12 21:41:00 +04:00
|
|
|
|