Commit Graph

9 Commits

Author SHA1 Message Date
Boris Kolpackov
54a336216d Minor tweaks 2022-01-20 10:58:44 +02:00
Boris Kolpackov
6bb88b24c2 Rename basics test to module in preparation for checks tests 2022-01-20 10:21:31 +02:00
Boris Kolpackov
c588672b93 Add support for checks reuse
Specifically:

1. A check's option name can now be marked as "unprefixable": `// <NAME>!`.

2. A check can now list a number of base checks: `// <NAME> : <BASE>...`.

3. Duplicate options are now automatically suppressed.
2022-01-20 10:10:09 +02:00
Boris Kolpackov
f0715ced26 Add support for custom prefix in built-in checks 2021-11-24 13:30:54 +02:00
Boris Kolpackov
a2e1f8a7d9 Automatically detect flavor based on .cmake/.meson file extensions 2021-11-05 08:36:34 +02:00
Boris Kolpackov
a6eb5d21b2 Tweak .gitignore 2021-11-04 11:46:44 +02:00
Boris Kolpackov
5df3ee0dc1 Complete built-in checks support, add few checks 2021-11-04 10:59:53 +02:00
Boris Kolpackov
be2c4ff0b3 Add infrastructure for build-in checks 2021-11-04 10:59:53 +02:00
Boris Kolpackov
ef54e197e9 Initial module implementation
At this stage it handles Autoconf (#undef), CMake (#cmakedefine), and Meson
(#mesondefine) special lines but does not have any built-in tests.
2021-11-04 10:59:53 +02:00