Merge topic 'predictable-add_custom_command-output'
92d76b50
Make the add_custom_command output more predictable
This commit is contained in:
commit
ec5114f997
|
@ -263,8 +263,8 @@ bool cmAddCustomCommandCommand::InitialPass(
|
||||||
|
|
||||||
// No command for this output exists.
|
// No command for this output exists.
|
||||||
std::ostringstream e;
|
std::ostringstream e;
|
||||||
e << "given APPEND option with output \"" << output[0]
|
e << "given APPEND option with output\n\"" << output[0]
|
||||||
<< "\" which is not already a custom command output.";
|
<< "\"\nwhich is not already a custom command output.";
|
||||||
this->SetError(e.str());
|
this->SetError(e.str());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
CMake Error at AppendNotOutput.cmake:1 \(add_custom_command\):
|
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.
|
which is not already a custom command output.
|
||||||
Call Stack \(most recent call first\):
|
Call Stack \(most recent call first\):
|
||||||
CMakeLists.txt:3 \(include\)
|
CMakeLists.txt:3 \(include\)
|
||||||
|
|
Loading…
Reference in New Issue