zephyr/tests/kernel/pipe/deprecated/pipe_api/CMakeLists.txt
Jamie McCrae 978f55926f tests: kernel: pipe: deprecated: Fix test wrongly passing paramater
Fix these tests so that the parameters are correctly passed to
other parts of the build

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-01-28 12:00:34 +01:00

10 lines
288 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
set(CMAKE_C_FLAGS "-D__deprecated='' -D__DEPRECATED_MACRO=''")
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(pipe_api)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})