esp-idf/tools/test_apps/peripherals/usb/CMakeLists.txt

12 lines
537 B
CMake
Raw Normal View History

2021-07-16 04:01:15 -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)
2021-07-16 04:01:15 -04:00
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/peripherals/usb/host/cdc/common
$ENV{IDF_PATH}/examples/peripherals/usb/host/msc/components/)
2021-07-16 04:01:15 -04:00
# Set the components to include the tests for.
set(TEST_COMPONENTS "cdc_acm_host" "msc" CACHE STRING "List of components to test")
2021-07-16 04:01:15 -04:00
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(usb_test_app)