-
Notifications
You must be signed in to change notification settings - Fork 12
/
CMakeLists.txt
26 lines (21 loc) · 1.07 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
zephyr_include_directories(include)
zephyr_include_directories(${APPLICATION_SOURCE_DIR}/include)
zephyr_library()
if(CONFIG_SHIELD_PROSPECTOR_ADAPTER)
add_subdirectory(${ZEPHYR_CURRENT_MODULE_DIR}/drivers/display)
add_subdirectory(${ZEPHYR_CURRENT_MODULE_DIR}/modules/lvgl)
if(CONFIG_DT_HAS_ZMK_BEHAVIOR_CAPS_WORD_ENABLED)
zephyr_library_sources(src/events/caps_word_state_changed.c)
set_source_files_properties(
${APPLICATION_SOURCE_DIR}/src/behaviors/behavior_caps_word.c
TARGET_DIRECTORY app
PROPERTIES HEADER_FILE_ONLY ON)
target_sources(app PRIVATE src/behaviors/behavior_caps_word.c)
endif()
zephyr_library_sources(src/events/split_central_status_changed.c)
set_source_files_properties(
${APPLICATION_SOURCE_DIR}/src/split/bluetooth/central.c
TARGET_DIRECTORY app
PROPERTIES HEADER_FILE_ONLY ON)
zephyr_library_sources(src/split/bluetooth/central.c)
endif()