Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
ec5114f9
Commit
ec5114f9
authored
Sep 19, 2016
by
Brad King
Committed by
Kitware Robot
Sep 19, 2016
Browse files
Merge topic 'predictable-add_custom_command-output'
92d76b50
Make the add_custom_command output more predictable
parents
995d6be1
92d76b50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmAddCustomCommandCommand.cxx
View file @
ec5114f9
...
...
@@ -263,8 +263,8 @@ bool cmAddCustomCommandCommand::InitialPass(
// No command for this output exists.
std
::
ostringstream
e
;
e
<<
"given APPEND option with output
\"
"
<<
output
[
0
]
<<
"
\"
which is not already a custom command output."
;
e
<<
"given APPEND option with output
\n
\"
"
<<
output
[
0
]
<<
"
\"
\n
which is not already a custom command output."
;
this
->
SetError
(
e
.
str
());
return
false
;
}
...
...
Tests/RunCMake/add_custom_command/AppendNotOutput-stderr.txt
View file @
ec5114f9
CMake Error at AppendNotOutput.cmake:1 \(add_custom_command\):
add_custom_command given APPEND option with output.*
add_custom_command given APPEND option with output
.*RunCMake/add_custom_command/AppendNotOutput-build/out.*
which is not already a custom command output.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment