Skip to content

cmake.xml: Improvements to highlighting

Alex Turbov requested to merge (removed):feature/cmake-improvements into master
  • 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)

Merge request reports

Loading