summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-21 19:21:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-21 19:21:38 (GMT)
commitab817f2e8108614947d7c559ff1bc970d02cbbc4 (patch)
treeefed46b3520b5f562e1d2915b36c9c07d8ea4668 /Source
parent560b7af06eca01e8bcc7db77980845378548ddb5 (diff)
downloadCMake-ab817f2e8108614947d7c559ff1bc970d02cbbc4.zip
CMake-ab817f2e8108614947d7c559ff1bc970d02cbbc4.tar.gz
CMake-ab817f2e8108614947d7c559ff1bc970d02cbbc4.tar.bz2
COMP: fix warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalGenerator.cxx8
-rw-r--r--Source/cmTarget.cxx4
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 "";
}