diff options
author | Brad King <brad.king@kitware.com> | 2009-09-19 16:00:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-19 16:00:09 (GMT) |
commit | d4cfb77ffe816f71d456dc70ab18efb7eb19d82d (patch) | |
tree | 87908f67a85c448de02380c7078db623084ead8a /Source/cmGlobalXCode21Generator.h | |
parent | 180c60a86f5c44085a1a66865bfc8b9479c72e8a (diff) | |
download | CMake-d4cfb77ffe816f71d456dc70ab18efb7eb19d82d.zip CMake-d4cfb77ffe816f71d456dc70ab18efb7eb19d82d.tar.gz CMake-d4cfb77ffe816f71d456dc70ab18efb7eb19d82d.tar.bz2 |
Remove cmGlobalXCode21Generator subclass
This subclass of cmGlobalXCodeGenerator only provided two virtual method
overrides, and it made construction of the Xcode generator instance
complicated. This commit removes it and replaces the virtual methods
with tests of the Xcode version. The change removes duplicate code.
Diffstat (limited to 'Source/cmGlobalXCode21Generator.h')
-rw-r--r-- | Source/cmGlobalXCode21Generator.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/Source/cmGlobalXCode21Generator.h b/Source/cmGlobalXCode21Generator.h deleted file mode 100644 index 3a1b00e..0000000 --- a/Source/cmGlobalXCode21Generator.h +++ /dev/null @@ -1,41 +0,0 @@ -/*========================================================================= - - Program: CMake - Cross-Platform Makefile Generator - Module: $RCSfile$ - Language: C++ - Date: $Date$ - Version: $Revision$ - - Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. - See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - -=========================================================================*/ -#ifndef cmGlobalXCode21Generator_h -#define cmGlobalXCode21Generator_h - -#include "cmGlobalXCodeGenerator.h" - -/** \class cmGlobalXCode21Generator - * \brief Write Mac XCode projects - * - * cmGlobalXCode21Generator manages UNIX build process for a tree - */ -class cmGlobalXCode21Generator : public cmGlobalXCodeGenerator -{ -public: - cmGlobalXCode21Generator(); - static cmGlobalGenerator* New() { return new cmGlobalXCode21Generator; } - virtual void WriteXCodePBXProj(std::ostream& fout, - cmLocalGenerator* root, - std::vector<cmLocalGenerator*>& generators); - - ///! What is the configurations directory variable called? - virtual const char* GetCMakeCFGInitDirectory() { - return "$(CONFIGURATION)"; } -}; - -#endif |