2018-08-13 15:46:42 +08:00
|
|
|
cmake_minimum_required(VERSION 3.8.2)
|
2017-10-27 21:43:34 +08:00
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
|
|
project(NONE)
|
|
|
|
|
2018-02-18 00:02:31 +08:00
|
|
|
if(NOT CONFIG_ARM)
|
|
|
|
target_sources(app PRIVATE
|
|
|
|
src/bitfield.c
|
|
|
|
)
|
|
|
|
endif()
|
2018-04-22 11:27:22 +08:00
|
|
|
if(CONFIG_PRINTK)
|
|
|
|
target_sources(app PRIVATE
|
|
|
|
src/printk.c
|
|
|
|
)
|
|
|
|
endif()
|
2018-02-18 00:02:31 +08:00
|
|
|
target_sources(app PRIVATE
|
|
|
|
src/atomic.c
|
|
|
|
src/byteorder.c
|
|
|
|
src/clock.c
|
|
|
|
src/dlist.c
|
|
|
|
src/intmath.c
|
|
|
|
src/main.c
|
|
|
|
src/slist.c
|
|
|
|
src/timeout_order.c
|
2018-02-18 00:50:39 +08:00
|
|
|
src/multilib.c
|
2018-02-18 00:02:31 +08:00
|
|
|
)
|