summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-06 19:33:59 (GMT)
committerBrad King <brad.king@kitware.com>2010-12-15 19:53:24 (GMT)
commitbfb7288f8103298bf4cabb60a13208f95595a7db (patch)
tree907bea44648b982fd16425dbbc90d48915e8fe7c /Source/cmLocalVisualStudio6Generator.cxx
parent53ea8b32045ce4c8045b904407e7e57d8d9fd4ab (diff)
downloadCMake-bfb7288f8103298bf4cabb60a13208f95595a7db.zip
CMake-bfb7288f8103298bf4cabb60a13208f95595a7db.tar.gz
CMake-bfb7288f8103298bf4cabb60a13208f95595a7db.tar.bz2
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/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 851c526..7aabf4d 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -838,7 +838,7 @@ cmLocalVisualStudio6Generator::MaybeCreateOutputDir(cmTarget& target,
std::vector<std::string> no_depends;
cmCustomCommandLines commands;
commands.push_back(command);
- pcc.reset(new cmCustomCommand(no_output, no_depends, commands, 0, 0));
+ pcc.reset(new cmCustomCommand(0, no_output, no_depends, commands, 0, 0));
pcc->SetEscapeOldStyle(false);
pcc->SetEscapeAllowMakeVars(true);
return pcc;