blob: 7e14ed350b4e96e1695a9f1a9d71648c0fa03c05 [file] [log] [blame]
# Copyright 2023 Meta
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr COMPONENTS unittest REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(pot_test)
FILE(GLOB app_sources *.c *.cpp)
target_sources(testbinary PRIVATE ${app_sources})
# gcc
target_compile_options(testbinary PRIVATE -Wno-overflow)
# clang
target_compile_options(testbinary PRIVATE -Wno-shift-count-overflow -Wno-integer-overflow)