Skip to content
  • Brad King's avatar
    ENH: Improve argument parsing error messages · d524f367
    Brad King authored
    Previously error messages produced by parsing of command argument
    variable references, such as bad $KEY{VAR} syntax or a bad escape
    sequence, did not provide good context information.  Errors parsing
    arguments inside macro invocations gave no context at all.  Furthermore,
    some errors such as a missing close curly "${VAR" would be reported but
    build files would still be generated.
    
    These changes teach CMake to report errors with good context information
    for all command argument parsing problems.  Policy CMP0010 is introduced
    so that existing projects that built despite such errors will continue
    to work.
    d524f367