diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-10-17 14:15:44 (GMT) |
---|---|---|
committer | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-11-24 19:13:23 (GMT) |
commit | 96e5042e468c5551b9b6ca01f8671295b2fda1a6 (patch) | |
tree | 7f6f4d9d37d1567a564c38cfba1b4e0853db53da /Source/cmMakefile.cxx | |
parent | 3dc084ebc1fb261aea69dbd254d50ffd1604dc80 (diff) | |
download | CMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.zip CMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.tar.gz CMake-96e5042e468c5551b9b6ca01f8671295b2fda1a6.tar.bz2 |
cmCustomCommand: Explicitly pass backtrace on construction
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index c4d757e..c6c8109 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -946,8 +946,8 @@ void cmMakefile::CommitCustomCommandToTarget( { // Add the command to the appropriate build step for the target. std::vector<std::string> no_output; - cmCustomCommand cc(this, no_output, byproducts, depends, commandLines, - comment, workingDir); + cmCustomCommand cc(no_output, byproducts, depends, commandLines, + this->Backtrace, comment, workingDir); cc.SetEscapeOldStyle(escapeOldStyle); cc.SetEscapeAllowMakeVars(true); cc.SetUsesTerminal(uses_terminal); @@ -1083,7 +1083,8 @@ cmSourceFile* cmMakefile::CommitCustomCommandToOutput( } std::unique_ptr<cmCustomCommand> cc = cm::make_unique<cmCustomCommand>( - this, outputs, byproducts, depends2, commandLines, comment, workingDir); + outputs, byproducts, depends2, commandLines, this->Backtrace, comment, + workingDir); cc->SetEscapeOldStyle(escapeOldStyle); cc->SetEscapeAllowMakeVars(true); cc->SetImplicitDepends(implicit_depends); |