zephyr/samples/userspace/syscall_perf/CMakeLists.txt

21 lines
454 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(syscall_perf)
set_property(
SOURCE src/test_user.c
PROPERTY COMPILE_DEFINITIONS
__ZEPHYR_USER__
)
set_property(
SOURCE src/test_supervisor.c
PROPERTY COMPILE_DEFINITIONS
__ZEPHYR_SUPERVISOR__
)
target_sources(app PRIVATE src/main.c src/test_user.c src/test_supervisor.c)