2022-10-11 00:03:26 -04:00
|
|
|
|
|
|
|
# The following lines of boilerplate have to be in your project's
|
|
|
|
# CMakeLists in this exact order for cmake to work correctly
|
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
|
2023-01-31 23:12:57 -05:00
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
|
|
|
2023-04-24 00:33:54 -04:00
|
|
|
list(PREPEND SDKCONFIG_DEFAULTS "$ENV{IDF_PATH}/tools/test_apps/configs/sdkconfig.debug_helpers" "sdkconfig.defaults")
|
2023-01-31 23:12:57 -05:00
|
|
|
|
|
|
|
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
|
2022-10-11 00:03:26 -04:00
|
|
|
set(COMPONENTS main)
|
|
|
|
set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components")
|
|
|
|
|
|
|
|
project(test_esp_event)
|