Skip to content

Commit

Permalink
Improve CMake for system port
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Jul 13, 2022
1 parent 4068b47 commit 1ff7fd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lwow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ set(lwow_core_SRCS
${CMAKE_CURRENT_LIST_DIR}/src/lwow/lwow.c
)

if (DEFINED LWOW_SYS_PORT)
set(lwow_core_SRCS ${lwow_core_SRCS} ${CMAKE_CURRENT_LIST_DIR}/src/system/lwow_sys_${LWOW_SYS_PORT}.c)
endif()

# Devices
set(lwow_devices_SRCS
${CMAKE_CURRENT_LIST_DIR}/src/devices/lwow_device_ds18x20.c
Expand Down

0 comments on commit 1ff7fd8

Please sign in to comment.