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/cmGlobalVisualStudioGenerator.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/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index 2181994..b687e56 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -930,9 +930,10 @@ void cmGlobalVisualStudioGenerator::AddSymbolExportCommand( cmCustomCommandLines commandLines = cmMakeSingleCommandLine( { cmakeCommand, "-E", "__create_def", mdi->DefFile, objs_file }); - cmCustomCommand command(gt->Target->GetMakefile(), outputs, empty, empty, - commandLines, "Auto build dll exports", "."); - commands.push_back(command); + cmCustomCommand command(outputs, empty, empty, commandLines, + gt->Target->GetMakefile()->GetBacktrace(), + "Auto build dll exports", "."); + commands.push_back(std::move(command)); } static bool OpenSolution(std::string sln) |