1234567891011121314151617181920212223242526272829303132333435 |
- set(ZEPHYR_CURRENT_LIBRARY aem_gui)
- add_library(aem_gui INTERFACE)
- zephyr_include_directories(
- .
- include
- config
- )
- target_include_directories(aem_gui INTERFACE
- include
- )
- zephyr_library()
- target_compile_options(aem_gui INTERFACE -Wno-unused-function -Wno-unused-variable)
- if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gui_fwk/CMakeLists.txt)
- add_subdirectory(gui_fwk)
- elseif(CONFIG_AEM_WATCH_FULL_BG_SUPPORT)
- zephyr_library_import(gui_fwk ${CMAKE_CURRENT_LIST_DIR}/libgui_fwk.a)
- else()
- zephyr_library_import(gui_fwk ${CMAKE_CURRENT_LIST_DIR}/libgui_fwk_s4.a)
- endif()
- add_subdirectory(adapter)
- add_subdirectory(driver)
- add_subdirectory(include)
- zephyr_library_link_libraries(aem_gui)
- target_link_libraries(aem_gui INTERFACE zephyr_interface)
|