EC600U_esp32_iap_uart/EC600U_lora/CMakeLists.txt

19 lines
567 B
CMake
Raw Permalink Normal View History

2024-02-05 17:39:56 +08:00
set(target ec600u_lora)
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)
include_directories(${SOURCE_TOP_DIR}/components/app/t2n/include)
target_link_libraries(${target} PUBLIC)
target_sources(${target} PUBLIC
lora_app.c
lora_test.c
lora_test_function.c
user.c
lora.c
)
relative_glob(srcs include/*.h src/*.c inc/*.h)
beautify_c_code(${target} ${srcs})