summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-27 18:54:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-27 18:54:58 (GMT)
commitf30f1625c25afb44861eff1f69ca4fa966077c73 (patch)
treea3aa65e72e65d20bb40cc9ab0b879fd1c0ee63d3 /Source/cmLocalGenerator.cxx
parent0672647e123670342d68827354610c747fe98004 (diff)
parent5a06efda05feda02511592c76134ee8ed3e8b650 (diff)
downloadCMake-f30f1625c25afb44861eff1f69ca4fa966077c73.zip
CMake-f30f1625c25afb44861eff1f69ca4fa966077c73.tar.gz
CMake-f30f1625c25afb44861eff1f69ca4fa966077c73.tar.bz2
Merge topic 'decompose-custom-command-creation'
5a06efda05 cmMakefile: Remove AddUtilityCommand overload without byproducts ea1bed34b2 cmMakefile: Extract utilities used for creation of custom commands 91abf9f3c4 cmCustomCommand: Move custom commands f151a57705 cmMakefile: Move enumerations into new header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3846
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 93e074d..7af3da5 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -7,6 +7,7 @@
#include "cmCustomCommand.h"
#include "cmCustomCommandGenerator.h"
#include "cmCustomCommandLines.h"
+#include "cmCustomCommandTypes.h"
#include "cmGeneratedFileStream.h"
#include "cmGeneratorExpression.h"
#include "cmGeneratorExpressionEvaluationFile.h"
@@ -2356,7 +2357,7 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target,
if (this->GetGlobalGenerator()->IsMultiConfig()) {
this->Makefile->AddCustomCommandToTarget(
target->GetName(), outputs, no_deps, commandLines,
- cmTarget::PRE_BUILD, no_message, no_current_dir);
+ cmCustomCommandType::PRE_BUILD, no_message, no_current_dir);
} else {
cmImplicitDependsList no_implicit_depends;
cmSourceFile* copy_rule = this->Makefile->AddCustomCommandToOutput(