diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-21 13:16:36 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-23 20:15:31 (GMT) |
commit | cbb861ade85e3b7e550bb1f150513b237efc1f02 (patch) | |
tree | 92e13c7297a6a474f3a56d51acf99444dd7221f8 /Source/cmAddCustomCommandCommand.cxx | |
parent | ebb9346490741ddc2ce6f552bc1be57dfc730cfa (diff) | |
download | CMake-cbb861ade85e3b7e550bb1f150513b237efc1f02.zip CMake-cbb861ade85e3b7e550bb1f150513b237efc1f02.tar.gz CMake-cbb861ade85e3b7e550bb1f150513b237efc1f02.tar.bz2 |
add_custom_command: Add tests for custom command output checks
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
-rw-r--r-- | Source/cmAddCustomCommandCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx index 35db6a4..defefaf 100644 --- a/Source/cmAddCustomCommandCommand.cxx +++ b/Source/cmAddCustomCommandCommand.cxx @@ -396,8 +396,8 @@ bool cmAddCustomCommandCommandCheckOutputs( // Make sure the file will not be generated into the source // directory during an out of source build. if (!mf.CanIWriteThisFile(o)) { - std::string e = "attempted to have a file \"" + o + - "\" in a source directory as an output of custom command."; + std::string e = "attempted to have a file\n\"" + o + + "\"\nin a source directory as an output of custom command."; status.SetError(e); cmSystemTools::SetFatalErrorOccured(); return false; |