You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
489 B
17 lines
489 B
cmake_minimum_required(VERSION 3.16)
|
|
include(../common.cmake)
|
|
|
|
set(SDKCONFIG_DEFAULTS "../sdkconfig.common;sdkconfig.test")
|
|
|
|
idf_build_set_property(
|
|
COMPILE_OPTIONS "-DCATCH_CONFIG_NO_POSIX_SIGNALS -DCATCH_CONFIG_FAST_COMPILE" APPEND)
|
|
|
|
# Treat warnings as errors for test purposes.
|
|
list(APPEND EXTRA_WARNINGS "-Werror")
|
|
|
|
list(APPEND EXTRA_COMPONENT_DIRS "$ENV{PROJ_PATH}/src/drivers")
|
|
|
|
# List all components that include tests here.
|
|
set(TEST_COMPONENTS "drivers")
|
|
|
|
project(device_tests)
|
|
|