blob: 7ef6073f5d8755c1627375897a79b4a5171fd111 [file] [log] [blame]
cmake_minimum_required(VERSION 3.13.1)
macro(set_conf_file)
if(EXISTS ${APPLICATION_SOURCE_DIR}/boards/${BOARD}.conf)
set(CONF_FILE "prj.conf ${APPLICATION_SOURCE_DIR}/boards/${BOARD}.conf")
else()
set(CONF_FILE "prj.conf")
endif()
endmacro()
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(led_apa102)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})