CMakeLists.txt 739 B

1234567891011121314151617181920
  1. # Copyright (C) 2020 QUECTEL Technologies Limited and/or its affiliates("QUECTEL").
  2. # All rights reserved.
  3. #
  4. set(target ql_app_file)
  5. add_library(${target} STATIC)
  6. set_target_properties(${target} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${out_app_lib_dir})
  7. include_directories(${SOURCE_TOP_DIR}/components/newlib/include)
  8. target_link_libraries(${target} PRIVATE ${libc_file_name} ${libm_file_name} ${libgcc_file_name})
  9. target_compile_definitions(${target} PRIVATE OSI_LOG_TAG=LOG_TAG_QUEC)
  10. target_include_directories(${target} PUBLIC inc)
  11. #target_link_libraries(${target} PRIVATE kernel driver ql_api_common)
  12. target_sources(${target} PRIVATE
  13. ql_fs_demo.c
  14. )
  15. relative_glob(srcs include/*.h src/*.c inc/*.h)
  16. beautify_c_code(${target} ${srcs})