summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-12 20:09:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-13 14:27:23 (GMT)
commitcd43433de56ab31269a076fb2b2ace8babaa107d (patch)
tree3cfc978af258b7b0fc0b046b3d99be1b4cd01254 /Source/cmGlobalXCodeGenerator.cxx
parentd5b2e33be2119ad12744ed62920a8f8d9b6d705d (diff)
downloadCMake-cd43433de56ab31269a076fb2b2ace8babaa107d.zip
CMake-cd43433de56ab31269a076fb2b2ace8babaa107d.tar.gz
CMake-cd43433de56ab31269a076fb2b2ace8babaa107d.tar.bz2
cmGlobalGenerator: Extract a ComputeTargetObjectDirectory interface.
Make it public for future external calls.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 36196a2..6c12040 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -3964,7 +3964,12 @@ cmGlobalXCodeGenerator
gt->AddObject(sf, objectName);
}
+}
+//----------------------------------------------------------------------------
+void cmGlobalXCodeGenerator
+::ComputeTargetObjectDirectory(cmGeneratorTarget* gt) const
+{
const char* configName = this->GetCMakeCFGIntDir();
std::string dir = this->GetObjectsNormalDirectory(
"$(PROJECT_NAME)", configName, gt->Target);