summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-28 18:31:18 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-28 18:41:55 (GMT)
commite4055a6144c63c83fe2f39440ecfb9a0bcbfae0d (patch)
treef120a9d8e777f64173e7c9935d6684465ae39215 /Source/cmGlobalXCodeGenerator.h
parentde4ccee75a89519f95fcbcca75abc46577bfefea (diff)
downloadCMake-e4055a6144c63c83fe2f39440ecfb9a0bcbfae0d.zip
CMake-e4055a6144c63c83fe2f39440ecfb9a0bcbfae0d.tar.gz
CMake-e4055a6144c63c83fe2f39440ecfb9a0bcbfae0d.tar.bz2
Xcode: Add internal API to find xcodebuild
Teach the Xcode generator to compute the location of this tool or the cmakexbuild wrapper. Add internal APIs to get the locations on demand. Use the "cmakexbuild" wrapper for Xcode < 4, and "xcodebuild" for modern Xcode.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index a39c8c7..e54bb37 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -212,6 +212,11 @@ protected:
std::vector<cmXCodeObject*> XCodeObjects;
cmXCodeObject* RootObject;
private:
+ std::string const& GetXcodeBuildCommand();
+ std::string FindXcodeBuildCommand();
+ std::string XcodeBuildCommand;
+ bool XcodeBuildCommandInitialized;
+
void PrintCompilerAdvice(std::ostream&, std::string const&,
const char*) const {}