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/cmGlobalGenerator.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/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index a50cc3b..54dbfc7 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -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. */ |