diff options
author | Brad King <brad.king@kitware.com> | 2015-01-28 18:31:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-28 18:41:55 (GMT) |
commit | e4055a6144c63c83fe2f39440ecfb9a0bcbfae0d (patch) | |
tree | f120a9d8e777f64173e7c9935d6684465ae39215 /Source/cmGlobalXCodeGenerator.h | |
parent | de4ccee75a89519f95fcbcca75abc46577bfefea (diff) | |
download | CMake-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.h | 5 |
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 {} |