diff options
author | Brad King <brad.king@kitware.com> | 2018-08-01 12:02:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-01 13:12:42 (GMT) |
commit | 39c91d07035d6fb8bddc6e02ee391a0f095e47ee (patch) | |
tree | bd35091d6fa2189e6244abcaf48cb577b20ed106 /Source/cmGlobalXCodeGenerator.h | |
parent | f0e82ce9a2f50e7ce0b9b95dcf32e47ce9a08369 (diff) | |
download | CMake-39c91d07035d6fb8bddc6e02ee391a0f095e47ee.zip CMake-39c91d07035d6fb8bddc6e02ee391a0f095e47ee.tar.gz CMake-39c91d07035d6fb8bddc6e02ee391a0f095e47ee.tar.bz2 |
cmGlobalGenerator: Add IsXcode query
Make it easy to detect use of the Xcode generator.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index f7bca13..62f7030 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -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; } |