mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-08 13:58:35 +00:00
[fix] fix cmake files
This commit is contained in:
parent
72ccc03bf9
commit
064e9c91f7
21 changed files with 563 additions and 541 deletions
|
@ -20,30 +20,28 @@ list(APPEND ADD_SRCS ${sources})
|
|||
#######################################################
|
||||
|
||||
########### Add required/dependent components #########
|
||||
#list(APPEND ADD_REQUIREMENTS BSP_${BOARD}_Driver)
|
||||
#list(APPEND ADD_REQUIREMENTS xxx)
|
||||
#######################################################
|
||||
|
||||
############ Add static libs ##########################
|
||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
||||
# list(APPEND ADD_STATIC_LIB "lib/libtest.a")
|
||||
# list(APPEND ADD_STATIC_LIB "libxxx.a")
|
||||
# endif()
|
||||
#######################################################
|
||||
|
||||
############ Add dynamic libs #########################
|
||||
# list(APPEND ADD_DYNAMIC_LIB "lib/arch/v831/libmaix_nn.so"
|
||||
# "lib/arch/v831/libmaix_cam.so"
|
||||
# list(APPEND ADD_DYNAMIC_LIB "libxxx.so"
|
||||
# )
|
||||
#######################################################
|
||||
|
||||
############ Add global compile option ################
|
||||
#add components denpend on this component
|
||||
#list(APPEND ADD_DEFINITIONS -D${BOARD} -DARCH_RISCV)
|
||||
# list(APPEND ADD_DEFINITIONS -Dxxx)
|
||||
#######################################################
|
||||
|
||||
############ Add private compile option ################
|
||||
#add compile option for this component that won't affect other modules
|
||||
#list(APPEND ADD_DEFINITIONS_PRIVATE -D${BOARD}_DRIVER)
|
||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
||||
#######################################################
|
||||
|
||||
|
||||
generate_library()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue