mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 02:42:19 +00:00
Confirms build (and run) of C++17 applications that make use of STL containers and other features. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
9 lines
239 B
CMake
9 lines
239 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(cpp)
|
|
|
|
FILE(GLOB app_sources src/*.cpp)
|
|
target_sources(app PRIVATE ${app_sources})
|