diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-20 20:44:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-26 14:02:06 (GMT) |
commit | f151a5770597dbe341fc6329a711f40e9195c773 (patch) | |
tree | ca2f50db700d240033ffcf7dbbb8e73d596ddeca /Source/cmCPluginAPI.cxx | |
parent | 28a2613dd291c641f17940e3f996bd4cc9b9888d (diff) | |
download | CMake-f151a5770597dbe341fc6329a711f40e9195c773.zip CMake-f151a5770597dbe341fc6329a711f40e9195c773.tar.gz CMake-f151a5770597dbe341fc6329a711f40e9195c773.tar.bz2 |
cmMakefile: Move enumerations into new header
The enumerations will also be used in cmLocalGenerator.
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 1eaf48b..29d2495 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -220,7 +220,7 @@ void CCONV cmAddUtilityCommand(void* arg, const char* utilityName, } // Pass the call to the makefile instance. - mf->AddUtilityCommand(utilityName, cmMakefile::TargetOrigin::Project, + mf->AddUtilityCommand(utilityName, cmCommandOrigin::Project, (all ? false : true), nullptr, depends2, commandLines); } void CCONV cmAddCustomCommand(void* arg, const char* source, @@ -319,16 +319,16 @@ void CCONV cmAddCustomCommandToTarget(void* arg, const char* target, commandLines.push_back(commandLine); // Select the command type. - cmTarget::CustomCommandType cctype = cmTarget::POST_BUILD; + cmCustomCommandType cctype = cmCustomCommandType::POST_BUILD; switch (commandType) { case CM_PRE_BUILD: - cctype = cmTarget::PRE_BUILD; + cctype = cmCustomCommandType::PRE_BUILD; break; case CM_PRE_LINK: - cctype = cmTarget::PRE_LINK; + cctype = cmCustomCommandType::PRE_LINK; break; case CM_POST_BUILD: - cctype = cmTarget::POST_BUILD; + cctype = cmCustomCommandType::POST_BUILD; break; } |