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.5)
|
|
|
|
|
2021-07-19 10:58:08 -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.
|
2021-07-19 10:58:08 -04:00
|
|
|
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)
|