diff options
| author | gingerBill <bill@gingerbill.org> | 2020-07-16 20:59:03 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-07-16 20:59:03 +0100 |
| commit | 0aaab849382aa0cbce7234ec386f88161b79ca07 (patch) | |
| tree | f6115aabb2d47914193f26b5d1b892aeb94dc7c1 /src | |
| parent | 3a1492fc995e4050796dc23eb2afda8e94101536 (diff) | |
Allow multiple `-define` flags
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4dca6758b..9e7f7b612 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1195,7 +1195,14 @@ bool parse_build_flags(Array<String> args) { } - set_flags[bf.kind] = ok; + switch (bf.kind) { + case BuildFlag_Define: + // Allow for multiple + break; + default: + set_flags[bf.kind] = ok; + break; + } } break; } |