The source project of this merge request has been removed.
cmake.xml: Improvements to highlighting
-
Fix variable names recognition. CMake syntax allows to variable names contains
.
,+
,-
, and even/
. -
Fix target names recognition. Target names may contain
+
,-
,.
. -
Introduce Targets attribute to highlight targets where expected. Namy CMake built-ins can have a target name as
- the first parameter
- leading parameters before first named argument
- the next argument of a named argument (e.g.,
TARGET
) - multiple arguments after a named argument (e.g.,
TARGETS
)