diff options
author | Brad King <brad.king@kitware.com> | 2010-12-06 14:33:59 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-12-15 14:53:24 -0500 |
commit | bfb7288f8103298bf4cabb60a13208f95595a7db (patch) | |
tree | 907bea44648b982fd16425dbbc90d48915e8fe7c /Source/cmGlobalGenerator.cxx | |
parent | 53ea8b32045ce4c8045b904407e7e57d8d9fd4ab (diff) | |
download | cmake-bfb7288f8103298bf4cabb60a13208f95595a7db.tar.gz |
Record backtrace in cmCustomCommand
This will be used to report custom command errors to the user with a
backtrace pointing at the add_custom_command or add_custom_target call.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 15abd020a3..f55850972c 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1893,7 +1893,7 @@ cmTarget cmGlobalGenerator::CreateGlobalTarget( std::vector<std::string> no_outputs; std::vector<std::string> no_depends; // Store the custom command in the target. - cmCustomCommand cc(no_outputs, no_depends, *commandLines, 0, + cmCustomCommand cc(0, no_outputs, no_depends, *commandLines, 0, workingDirectory); target.GetPostBuildCommands().push_back(cc); target.SetProperty("EchoString", message); |