2007-07-12 21:41:00 +04:00
|
|
|
|
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_C_OUTPUT_EXTENSION ".doj")
|
2007-07-12 21:41:00 +04:00
|
|
|
|
2016-07-05 20:35:13 +03:00
|
|
|
string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -g")
|
|
|
|
string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " ")
|
|
|
|
string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " ")
|
|
|
|
string(APPEND CMAKE_C_FLAGS_RELWITHDEBINFO_INIT " ")
|
2007-07-12 21:41:00 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_C_CREATE_STATIC_LIBRARY
|
2007-07-12 21:41:00 +04:00
|
|
|
"<CMAKE_C_COMPILER> -build-lib -proc ${ADSP_PROCESSOR} -si-revision ${ADSP_PROCESSOR_SILICIUM_REVISION} -o <TARGET> <CMAKE_C_LINK_FLAGS> <OBJECTS>")
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_C_LINK_EXECUTABLE
|
2007-07-12 21:41:00 +04:00
|
|
|
"<CMAKE_C_COMPILER> <FLAGS> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_C_CREATE_SHARED_LIBRARY)
|
|
|
|
set(CMAKE_C_CREATE_MODULE_LIBRARY)
|
2007-07-12 21:41:00 +04:00
|
|
|
|