diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2023-02-22 13:10:24 -0800 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2023-04-21 15:18:56 +0530 |
commit | bfce5c45a4784d86be8472a00f628f2ffac74cf2 (patch) | |
tree | 420ebb65147f91175e9b84bc9dbb50cbf20b8684 /tools/cmake2meson.py | |
parent | c0c9f755a40a51889e73275578cb49296de84e43 (diff) | |
download | meson-bfce5c45a4784d86be8472a00f628f2ffac74cf2.zip meson-bfce5c45a4784d86be8472a00f628f2ffac74cf2.tar.gz meson-bfce5c45a4784d86be8472a00f628f2ffac74cf2.tar.bz2 |
compilers: convert method to get assert control to a boolean
C like compilers only off `-DNDEBUG` to disable asserts. This is not a
universal paradigm however. Rust, for example has an argument that takes
a boolean. To better represent this, we allow passing a `disable`
boolean. `disable` was chosen rather than `enable` because it allowed
all existing logic to be left in place
Diffstat (limited to 'tools/cmake2meson.py')
0 files changed, 0 insertions, 0 deletions