diff options
author | Ashley Whetter <ashley@awhetter.co.uk> | 2016-01-17 22:09:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-19 15:19:42 (GMT) |
commit | 77cd74a3ea964fa390d85c371902387e9ffc4a92 (patch) | |
tree | 1ae6b9fe22db03f0212886da31c5b7f78ea9041f /Tests/RunCMake/CommandLine/cache-empty-entry | |
parent | 249aac71d0b0022031d16963f3b46f9860919104 (diff) | |
download | CMake-77cd74a3ea964fa390d85c371902387e9ffc4a92.zip CMake-77cd74a3ea964fa390d85c371902387e9ffc4a92.tar.gz CMake-77cd74a3ea964fa390d85c371902387e9ffc4a92.tar.bz2 |
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.
Diffstat (limited to 'Tests/RunCMake/CommandLine/cache-empty-entry')
-rw-r--r-- | Tests/RunCMake/CommandLine/cache-empty-entry/CMakeCache.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/cache-empty-entry/CMakeCache.txt b/Tests/RunCMake/CommandLine/cache-empty-entry/CMakeCache.txt new file mode 100644 index 0000000..44da1c9 --- /dev/null +++ b/Tests/RunCMake/CommandLine/cache-empty-entry/CMakeCache.txt @@ -0,0 +1,7 @@ +// This is valid +VALID:BOOL=TRUE + +// This isn't + +// One final entry +FINAL:BOOL=TRUE |