cmGlobalXCode21Generator.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*=========================================================================
  2. Program: CMake - Cross-Platform Makefile Generator
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  8. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. #ifndef cmGlobalXCode21Generator_h
  14. #define cmGlobalXCode21Generator_h
  15. #include "cmGlobalXCodeGenerator.h"
  16. /** \class cmGlobalXCode21Generator
  17. * \brief Write Mac XCode projects
  18. *
  19. * cmGlobalXCode21Generator manages UNIX build process for a tree
  20. */
  21. class cmGlobalXCode21Generator : public cmGlobalXCodeGenerator
  22. {
  23. public:
  24. cmGlobalXCode21Generator();
  25. static cmGlobalGenerator* New() { return new cmGlobalXCode21Generator; }
  26. virtual void WriteXCodePBXProj(std::ostream& fout,
  27. cmLocalGenerator* root,
  28. std::vector<cmLocalGenerator*>& generators);
  29. ///! What is the configurations directory variable called?
  30. virtual const char* GetCMakeCFGInitDirectory() { return "$(CONFIGURATION)"; }
  31. };
  32. #endif