diff options
-rw-r--r-- | Source/cmLocalGenerator.cxx | 8 | ||||
-rw-r--r-- | Source/cmTarget.cxx | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 80ffd1c..7e31f2c 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -605,6 +605,10 @@ void cmLocalGenerator::CreateCustomTargetsAndCommands(std::set<cmStdString> cons this->AddBuildTargetRule(llang, target); } } + break; + case cmTarget::UTILITY: + case cmTarget::INSTALL_FILES: + case cmTarget::INSTALL_PROGRAMS: break; } } @@ -1011,6 +1015,10 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, linkFlags += " "; } } + break; + case cmTarget::UTILITY: + case cmTarget::INSTALL_FILES: + case cmTarget::INSTALL_PROGRAMS: break; } } diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index aa75573..2423bf8 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -823,6 +823,10 @@ const char* cmTarget::GetCreateRuleVariable() case cmTarget::EXECUTABLE: return "_LINK_EXECUTABLE"; break; + case cmTarget::UTILITY: + case cmTarget::INSTALL_FILES: + case cmTarget::INSTALL_PROGRAMS: + break; } return ""; } |