CMakeLists.txt 803 B

1234567891011121314151617181920212223242526
  1. # Copyright (C) 2020 QUECTEL Technologies Limited and/or its affiliates("QUECTEL").
  2. # All rights reserved.
  3. #
  4. set(target ql_app_mxml)
  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 fs fsmount ql_urc ql_file ql_utils)
  10. target_sources(${target} PRIVATE
  11. mxml_demo.c
  12. src/mxml-attr.c
  13. src/mxml-entity.c
  14. src/mxml-file.c
  15. src/mxml-get.c
  16. src/mxml-index.c
  17. src/mxml-node.c
  18. src/mxml-private.c
  19. src/mxml-search.c
  20. src/mxml-set.c
  21. src/mxml-string.c
  22. )
  23. relative_glob(srcs include/*.h src/*.h src/*.c)
  24. beautify_c_code(${target} ${srcs})