CMakeLists.txt 629 B

123456789101112131415161718192021
  1. # Copyright (C) 2020 QUECTEL Technologies Limited and/or its affiliates("QUECTEL").
  2. # All rights reserved.
  3. #
  4. set(target ql_app_http)
  5. add_library(${target} STATIC)
  6. set_target_properties(${target} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${out_app_lib_dir})
  7. target_compile_definitions(${target} PRIVATE OSI_LOG_TAG=LOG_TAG_QUEC)
  8. target_include_directories(${target} PUBLIC inc)
  9. #target_link_libraries(${target} PRIVATE kernel driver ql_api_common)
  10. target_sources(${target} PRIVATE
  11. http_demo.c
  12. https_get_demo.c
  13. http_post_demo.c
  14. http_put_demo.c
  15. )
  16. relative_glob(srcs include/*.h src/*.c inc/*.h)
  17. beautify_c_code(${target} ${srcs})