Ashley Whetter 77cd74a3ea Print line number of cache parse errors (#11109)
Track the line number while parsing `CMakeCache.txt` files and include
it in a parse failure error message.
2016-01-19 10:19:42 -05:00

11 lines
154 B
Plaintext

# This is a comment
// That was an empty line. This isn't.
EMPTY_LINE:BOOL=FALSE
// Uhoh! Here it comes
BAD ENTRY
// This is fine
GOOD_ENTRY:BOOL=TRUE