mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-16 12:11:04 -06:00
cmGlobalGenerator: Add IsXcode query
Make it easy to detect use of the Xcode generator.
This commit is contained in:
@@ -354,6 +354,8 @@ public:
|
||||
i.e. "Can I build Debug and Release in the same tree?" */
|
||||
virtual bool IsMultiConfig() const { return false; }
|
||||
|
||||
virtual bool IsXcode() const { return false; }
|
||||
|
||||
/** Return true if we know the exact location of object files.
|
||||
If false, store the reason in the given string.
|
||||
This is meaningful only after EnableLanguage has been called. */
|
||||
|
||||
@@ -96,6 +96,8 @@ public:
|
||||
i.e. "Can I build Debug and Release in the same tree?" */
|
||||
bool IsMultiConfig() const override;
|
||||
|
||||
bool IsXcode() const override { return true; }
|
||||
|
||||
bool HasKnownObjectFileLocation(std::string* reason) const override;
|
||||
|
||||
bool IsIPOSupported() const override { return true; }
|
||||
|
||||
Reference in New Issue
Block a user