diff options
| author | Ha Thach <[email protected]> | 2025-12-04 09:03:37 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-04 09:03:37 +0700 |
| commit | f68e354729c9485918966d2818fe652c033e4a93 (patch) | |
| tree | 0b9332d09e888ae0313e52b23268addea6b45e71 /examples/host | |
| parent | 7ee288bc223db393d68c7bdb09bf7c05ffd2eb03 (diff) | |
| parent | 1b6f2b90a45e172a2eb45b3dea2fa2d11382c2b0 (diff) | |
Merge pull request #3384 from hathach/pr-size-diff
Size metrics
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 () |
