diff options
| author | hathach <[email protected]> | 2023-05-04 16:38:06 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-05-04 16:38:06 +0700 |
| commit | 629717cd13730fa5f7543ce414ff11b5c175add0 (patch) | |
| tree | 694d373cb088a5d589fac90946128a0114fb7f56 /tools | |
| parent | 5e023fa2ca4c20f06b6e0dc12f6f044a7d4e14bd (diff) | |
fix cmake build
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build_family.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/build_family.py b/tools/build_family.py index f9f7261fe..1fc25907b 100644 --- a/tools/build_family.py +++ b/tools/build_family.py @@ -41,11 +41,11 @@ if __name__ == '__main__': # If examples are not specified in arguments, build all all_examples = [] - for dir1 in os.scandir("examples"): - if dir1.is_dir() and 'cmake-build' not in dir1.name: - for entry in os.scandir(dir1.path): + for d in os.scandir("examples"): + if d.is_dir() and 'cmake-build' not in d.name and 'cmake' not in d.name: + for entry in os.scandir(d.path): if entry.is_dir(): - all_examples.append(dir1.name + '/' + entry.name) + all_examples.append(d.name + '/' + entry.name) filter_with_input(all_examples) all_examples.sort() |
