Commit Graph

18 Commits

Author SHA1 Message Date
Boris Kolpackov
367c4529d2 Add mechanism for creating project-specific aliases for built-in checks
Specifically, the desired aliases can be specified as key-value pairs in
the autoconf.aliases map with key being the new name and the value --
old/existing. See the README for details.
2022-09-07 09:30:03 +02:00
Boris Kolpackov
a9d13e2519 Add test for more tricky SIZEOF_* checks 2022-09-04 12:35:01 +02:00
Boris Kolpackov
ed653f0cc2 Add ability to specify substitutions as key-value pairs 2022-09-02 10:46:23 +02:00
Boris Kolpackov
48fb7e2cc9 Change version to 0.2.0-a.0.z 2022-09-01 10:43:45 +02:00
Boris Kolpackov
2650b878d4 Release version 0.1.0 2022-07-28 06:52:01 +02:00
Boris Kolpackov
abb954022e Fix test not to use conditional dependency declarations 2022-07-20 11:10:18 +02:00
Boris Kolpackov
3c49282131 Don't load autoconf module in skeleton mode in tests 2022-06-29 10:40:06 +02:00
Francois Kritzinger
a0aa26a578 Add checks used by Qt 2022-02-02 10:34:41 +02:00
Francois Kritzinger
17aa02d771 Add checks for endianness 2022-01-24 14:53:17 +02:00
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