diff options
| author | hathach <[email protected]> | 2025-12-04 09:27:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-12-04 09:27:29 +0700 |
| commit | 9f291dac260f82d5a8f1b11251703e79da12996a (patch) | |
| tree | 0344ebf0bca0a50962ca01b51793460b902ad34b /examples/host | |
| parent | 06f1597c0e55a862bce2eac0b2058cb6f6cea54b (diff) | |
| parent | f68e354729c9485918966d2818fe652c033e4a93 (diff) | |
Merge branch 'refs/heads/master' into dwc2_cfg
Diffstat (limited to 'examples/host')
| -rw-r--r-- | examples/host/CMakeLists.txt | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/examples/host/CMakeLists.txt b/examples/host/CMakeLists.txt index 2783dd84e..f8e0ce692 100644 --- a/examples/host/CMakeLists.txt +++ b/examples/host/CMakeLists.txt @@ -6,10 +6,16 @@ project(tinyusb_host_examples C CXX ASM) family_initialize_project(tinyusb_host_examples ${CMAKE_CURRENT_LIST_DIR}) # family_add_subdirectory will filter what to actually add based on selected FAMILY -family_add_subdirectory(bare_api) -family_add_subdirectory(cdc_msc_hid) -family_add_subdirectory(cdc_msc_hid_freertos) -family_add_subdirectory(device_info) -family_add_subdirectory(hid_controller) -family_add_subdirectory(midi_rx) -family_add_subdirectory(msc_file_explorer) +set(EXAMPLE_LIST + bare_api + cdc_msc_hid + cdc_msc_hid_freertos + device_info + hid_controller + midi_rx + msc_file_explorer + ) + +foreach (example ${EXAMPLE_LIST}) + family_add_subdirectory(${example}) +endforeach () |
