summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-15 23:16:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:31:29 (GMT)
commit78bfee35d5bd5cba879d92eda4310d25bc54b30e (patch)
treeb8263240be0775e713a985546a2176ca8ac49fb5 /Source/cmTarget.cxx
parent4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46 (diff)
downloadCMake-78bfee35d5bd5cba879d92eda4310d25bc54b30e.zip
CMake-78bfee35d5bd5cba879d92eda4310d25bc54b30e.tar.gz
CMake-78bfee35d5bd5cba879d92eda4310d25bc54b30e.tar.bz2
Make cmLocalGenerator::AddArchitectureFlags take a cmGeneratorTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index cce5cd6..c556813 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -3909,27 +3909,6 @@ void cmTarget::GetLanguages(std::set<cmStdString>& languages) const
}
//----------------------------------------------------------------------------
-void cmTarget::GetAppleArchs(const char* config,
- std::vector<std::string>& archVec)
-{
- const char* archs = 0;
- if(config && *config)
- {
- std::string defVarName = "OSX_ARCHITECTURES_";
- defVarName += cmSystemTools::UpperCase(config);
- archs = this->GetProperty(defVarName.c_str());
- }
- if(!archs)
- {
- archs = this->GetProperty("OSX_ARCHITECTURES");
- }
- if(archs)
- {
- cmSystemTools::ExpandListArgument(std::string(archs), archVec);
- }
-}
-
-//----------------------------------------------------------------------------
bool cmTarget::IsChrpathUsed(const char* config)
{
#if defined(CMAKE_USE_ELF_PARSER)