The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
412 B
10 lines
412 B
1 year ago
|
## Compilers now have a `has_define` method
|
||
|
|
||
|
This method returns true if the given preprocessor symbol is
|
||
|
defined, else false is returned. This is useful is cases where
|
||
|
an empty define has to be distinguished from a non-set one, which
|
||
|
is not possible using `get_define`.
|
||
|
|
||
|
Additionally it makes intent clearer for code that only needs
|
||
|
to check if a specific define is set at all and does not care
|
||
|
about its value.
|