CMSIS-DSP: Simplification to cmake to build without test framework.
parent
5309ff3334
commit
84c7261036
@ -0,0 +1,26 @@
|
||||
# This is for building a library only
|
||||
# It is similar to the config.cmake but ignoring anything related to the platform
|
||||
# and boot code
|
||||
|
||||
|
||||
include(Toolchain/Tools)
|
||||
option(OPTIMIZED "Compile for speed" ON)
|
||||
|
||||
enable_language(CXX C ASM)
|
||||
|
||||
|
||||
# Otherwise there is a .obj on windows and it creates problems
|
||||
# with armlink.
|
||||
SET(CMAKE_C_OUTPUT_EXTENSION .o)
|
||||
SET(CMAKE_CXX_OUTPUT_EXTENSION .o)
|
||||
SET(CMAKE_ASM_OUTPUT_EXTENSION .o)
|
||||
|
||||
include(configCore)
|
||||
|
||||
|
||||
function(configLib project cmsisRoot)
|
||||
configcore(${project} ${cmsisRoot})
|
||||
#configplatformForLib(${project} ${cmsisRoot})
|
||||
SET(COREID ${COREID} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
Loading…
Reference in New Issue