CMakeLists.txt 500 B

12345678910
  1. idf_component_register( SRC_DIRS .
  2. INCLUDE_DIRS . inc
  3. )
  4. add_prebuilt_library(esp_processing lib/libesp_processing.a)
  5. target_link_libraries(${COMPONENT_LIB} PRIVATE esp_processing)
  6. #target_link_libraries(${COMPONENT_LIB} INTERFACE "-Wl,--undefined=")
  7. target_link_libraries(${COMPONENT_LIB} INTERFACE "-u pow")
  8. target_link_libraries(${COMPONENT_LIB} INTERFACE "-u cos")
  9. target_link_libraries(${COMPONENT_LIB} INTERFACE "-u sin")
  10. target_link_libraries(${COMPONENT_LIB} INTERFACE "-u sqrt")