• Brad King's avatar
    Add Lua-style long brackets and long comments to CMake language · daa0f6f9
    Brad King authored
    Teach the CMake language parser to recognize Lua-style "long bracket"
    arguments.  These start with two '[' separated by zero or more '='
    characters e.g. "[[" or "[=[" or "[==[".  They end with two ']'
    separated by the same number of '=' as the opening bracket.  There is no
    nesting of brackets of the same level (number of '=').  No escapes,
    variable expansion, or other processing is performed on the content
    between such brackets so they always represent exactly one argument.
    
    Also teach CMake to parse and ignore "long comment" syntax.  A long
    comment starts with "#" immediately followed by an opening long bracket.
    It ends at the matching close long bracket.
    
    Teach the RunCMake.Syntax test to cover long bracket and long comment
    cases.
    daa0f6f9
Name
Last commit
Last update
..
CMP0004 Loading commit data...
CMP0019 Loading commit data...
CMP0022 Loading commit data...
CMP0026 Loading commit data...
CTest Loading commit data...
CheckModules Loading commit data...
CompatibleInterface Loading commit data...
CompilerChange Loading commit data...
Configure Loading commit data...
ExportWithoutLanguage Loading commit data...
ExternalData Loading commit data...
FPHSA Loading commit data...
File_Generate Loading commit data...
GeneratorExpression Loading commit data...
GeneratorToolset Loading commit data...
IncompatibleQt Loading commit data...
Languages Loading commit data...
ObjectLibrary Loading commit data...
ObsoleteQtMacros Loading commit data...
PositionIndependentCode Loading commit data...
SolutionGlobalSections Loading commit data...
Syntax Loading commit data...
TargetPolicies Loading commit data...
TargetPropertyGeneratorExpressions Loading commit data...
VisibilityPreset Loading commit data...
add_dependencies Loading commit data...
alias_targets Loading commit data...
build_command Loading commit data...
find_package Loading commit data...
get_filename_component Loading commit data...
if Loading commit data...
include Loading commit data...
include_directories Loading commit data...
include_external_msproject Loading commit data...
interface_library Loading commit data...
list Loading commit data...
message Loading commit data...
target_link_libraries Loading commit data...
try_compile Loading commit data...
variable_watch Loading commit data...
CMakeLists.txt Loading commit data...
RunCMake.cmake Loading commit data...