Commit Graph

7 Commits

Author SHA1 Message Date
Kyle Edwards
a3025e2f9b Utilities/Scripts: Update regenerate-lexers.bash
62d7acc6 added arguments to Flex when regenerating
cmCommandArgumentLexer, but this was not reflected in
Utilities/Scripts/regenerate-lexers.bash. Update the script with
the proper arguments.
2020-10-02 14:25:56 -04:00
Joerg Bornemann
f8c505d4b3 Add a parser for GCC-style depfiles
Introduce the function cmReadGccDepfile that parses a GCC-style depfile
and returns its content. The implementation uses a lexer that is
modeled after the re2c implementation in Ninja.

The sample files of the autotest have been created with gcc 8.3.0.

This depfile reader is to be used by the Autogen facility to make use
of the depfiles that are generated by Qt's meta object compiler.
2020-01-28 11:16:11 -05:00
Brad King
73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups"
The corresponding test property `PROCESSES` has been renamed to
`RESOURCE_GROUPS`.
2019-11-05 12:08:35 -05:00
Kyle Edwards
bb4a141059 CTest: Add lexer for PROCESSES property 2019-10-02 09:33:54 -04:00
Daniel Franke
3d382a494f regenerate-lexers.bash: Add option to check timestamps 2018-05-16 11:47:41 -04:00
Daniel Franke
5cd9f5c965 regenerate-lexers.bash: Factor file names into variables 2018-05-16 11:47:37 -04:00
Matthias Maennich
168b97a5c5 Lexer: add a helper script to automate generating the lexers
note: this depends on
	- a suitable flex version in PATH (currently 2.6.4)
	- a suitable version of 'sed' in PATH (e.g. GNU sed)

Signed-off-by: Matthias Maennich <matthias@maennich.net>
2017-08-29 14:58:34 +02:00