Commit Graph

65 Commits

Author SHA1 Message Date
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
4e8713e8e9 Add builds: all to manifest 2022-01-20 10:10:09 +02:00
Boris Kolpackov
e023354f8f Redo tests to first #undef 2022-01-14 10:44:55 +02:00
Boris Kolpackov
908358e13e Update copyright 2022-01-14 10:44:55 +02:00
Boris Kolpackov
ee8622ee17 Adjust to fixed in::rule interface 2021-11-29 13:41:43 +02:00
Boris Kolpackov
f0715ced26 Add support for custom prefix in built-in checks 2021-11-24 13:30:54 +02:00
Boris Kolpackov
d1dc8180d4 Update README.md with usage information 2021-11-05 09:05:38 +02:00
Boris Kolpackov
a2e1f8a7d9 Automatically detect flavor based on .cmake/.meson file extensions 2021-11-05 08:36:34 +02:00
Boris Kolpackov
8e355c01d0 Improve generated checks source file formatting 2021-11-04 16:50:26 +02:00
Boris Kolpackov
a6eb5d21b2 Tweak .gitignore 2021-11-04 11:46:44 +02:00
Boris Kolpackov
705b1bd474 Detect and warn about wrong configuration file flavor 2021-11-04 10:59:53 +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
Boris Kolpackov
19fcde9ddc Initial project setup (README, LICENSE, etc) 2021-10-31 13:36:24 +02:00