diff options
| author | hathach <[email protected]> | 2024-05-03 12:45:41 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-03 12:45:41 +0700 |
| commit | 1cf68f98b397b145e9a5c0660b8447edcfa895ec (patch) | |
| tree | a28e2e11f258567d634397048ddadca68dea6050 /tools | |
| parent | 43f4317a97d51eec2fdf90bcd545474fe97c77f3 (diff) | |
- add cmake to samd11
- build_cmake.py always build with -DCMAKE_BUILD_TYPE=MinSizeRel
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build_cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_cmake.py b/tools/build_cmake.py index e539b9f94..2eda3f90f 100644 --- a/tools/build_cmake.py +++ b/tools/build_cmake.py @@ -36,7 +36,7 @@ def build_family(family, cmake_option): # Generate build r = subprocess.run(f"cmake examples -B {build_dir} -G \"Ninja\" -DFAMILY={family} -DBOARD" - f"={board} {cmake_option}", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + f"={board} -DCMAKE_BUILD_TYPE=MinSizeRel {cmake_option}", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) # Build if r.returncode == 0: |
