12 lines
443 B
CMake
12 lines
443 B
CMake
|
set(target ql_app_esp32_iap)
|
||
|
|
||
|
add_library(${target} STATIC)
|
||
|
set_target_properties(${target} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${out_app_lib_dir})
|
||
|
target_compile_definitions(${target} PRIVATE OSI_LOG_TAG=LOG_TAG_QUEC)
|
||
|
target_include_directories(${target} PUBLIC inc)
|
||
|
|
||
|
target_sources(${target}
|
||
|
PRIVATE esp32_iap_demo.c esp32_iap_sdmmc.c)
|
||
|
|
||
|
relative_glob(srcs include/*.h src/*.c inc/*.h)
|
||
|
beautify_c_code(${target} ${srcs})
|