diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-28 21:25:29 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-28 21:25:29 (GMT) |
commit | 93f5712a7d4b47e3cdf508a2ee6fdc813b5d91b1 (patch) | |
tree | e8c9363557839f01d777ac539c5573cec05e44b3 /Source | |
parent | cca91e168a5525e6b5be0bb05de6796a887060a7 (diff) | |
download | CMake-93f5712a7d4b47e3cdf508a2ee6fdc813b5d91b1.zip CMake-93f5712a7d4b47e3cdf508a2ee6fdc813b5d91b1.tar.gz CMake-93f5712a7d4b47e3cdf508a2ee6fdc813b5d91b1.tar.bz2 |
COMP: Remove warnings
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 3 | ||||
-rw-r--r-- | Source/cmTarget.cxx | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 82d4d03..4f98ffb 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -516,6 +516,7 @@ void cmLocalGenerator::CreateCustomTargetsAndCommands(std::set<cmStdString> cons case cmTarget::GLOBAL_TARGET: case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_PROGRAMS: + case cmTarget::INSTALL_DIRECTORY: break; } } @@ -1086,6 +1087,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, case cmTarget::GLOBAL_TARGET: case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_PROGRAMS: + case cmTarget::INSTALL_DIRECTORY: break; } } @@ -1445,6 +1447,7 @@ std::string cmLocalGenerator::GetRealDependency(const char* inName, return inName; case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_PROGRAMS: + case cmTarget::INSTALL_DIRECTORY: break; } } diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index e698a33..8290075 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -924,6 +924,9 @@ const char *cmTarget::GetProperty(const char* prop) case cmTarget::INSTALL_PROGRAMS: return "INSTALL_PROGRAMS"; break; + case cmTarget::INSTALL_DIRECTORY: + return "INSTALL_DIRECTORY"; + break; } return 0; } @@ -1027,6 +1030,7 @@ const char* cmTarget::GetCreateRuleVariable() case cmTarget::GLOBAL_TARGET: case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_PROGRAMS: + case cmTarget::INSTALL_DIRECTORY: break; } return ""; @@ -1051,6 +1055,7 @@ const char* cmTarget::GetSuffixVariableInternal(TargetType type, case cmTarget::GLOBAL_TARGET: case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_PROGRAMS: + case cmTarget::INSTALL_DIRECTORY: break; } return ""; @@ -1075,6 +1080,7 @@ const char* cmTarget::GetPrefixVariableInternal(TargetType type, case cmTarget::GLOBAL_TARGET: case cmTarget::INSTALL_FILES: case cmTarget::INSTALL_PROGRAMS: + case cmTarget::INSTALL_DIRECTORY: break; } return ""; |