summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: b6e66ba5c29b3615e474ff1123e5766b57b549fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Find Zephyr. This also loads Zephyr's build system.
cmake_minimum_required(VERSION 3.13.1)

list(APPEND BOARD_ROOT ${CMAKE_SOURCE_DIR})

find_package(Zephyr)
project(zmk)

# Add your source file to the "app" target. This must come after
# find_package(Zephyr) which defines the target.
target_sources(app PRIVATE src/kscan.c)
target_sources(app PRIVATE src/main.c)