Skip to content

Commit

Permalink
Fix build.py --clean flag does actually clean with Ninja on Windows. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-carlos committed Jan 20, 2023
1 parent 80cd203 commit 99107da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/python/codal_utils.py
Expand Up @@ -19,6 +19,9 @@ def build(clean, verbose = False):
# configure
system("cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -G \"Ninja\"")

if clean:
system("ninja clean")

# build
if verbose:
system("ninja --verbose")
Expand Down

0 comments on commit 99107da

Please sign in to comment.