diff options
| author | hathach <[email protected]> | 2025-12-03 00:08:45 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-12-03 00:44:12 +0700 |
| commit | 3d190475ad2b71d913e059dfc6f5cc5dafe6555d (patch) | |
| tree | d40c16749ee71c710b457eecf7456f0128541893 /examples | |
| parent | 09e1113aaf1b2618ffe42e9638d68e6047b6f1ef (diff) | |
upload metrics.json, test ci
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d9f97d598..694681467 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -19,6 +19,7 @@ foreach (example ${EXAMPLES_LIST}) endforeach () # Post-build: run metrics.py on all map.json files +find_package(Python3 REQUIRED COMPONENTS Interpreter) add_custom_target(tinyusb_examples_metrics COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../tools/metrics.py -f tinyusb/src -j -o ${CMAKE_BINARY_DIR}/metrics |
