zmk/CMakeLists.txt

15 lines
409 B
CMake
Raw Normal View History

2020-04-21 16:20:34 -04:00
# Find Zephyr. This also loads Zephyr's build system.
cmake_minimum_required(VERSION 3.13.1)
list(APPEND BOARD_ROOT ${CMAKE_SOURCE_DIR})
2020-04-21 16:20:34 -04:00
find_package(Zephyr)
2020-04-21 16:20:34 -04:00
project(zmk)
# Add your source file to the "app" target. This must come after
# find_package(Zephyr) which defines the target.
2020-05-01 19:14:18 -04:00
target_sources(app PRIVATE src/kscan.c)
target_sources(app PRIVATE src/keymap.c)
2020-04-21 16:20:34 -04:00
target_sources(app PRIVATE src/main.c)