cmGlobalBorlandMakefileGenerator.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmGlobalBorlandMakefileGenerator_h
  11. #define cmGlobalBorlandMakefileGenerator_h
  12. #include "cmGlobalNMakeMakefileGenerator.h"
  13. /** \class cmGlobalBorlandMakefileGenerator
  14. * \brief Write a Borland makefiles.
  15. *
  16. * cmGlobalBorlandMakefileGenerator manages nmake build process for a tree
  17. */
  18. class cmGlobalBorlandMakefileGenerator : public cmGlobalNMakeMakefileGenerator
  19. {
  20. public:
  21. cmGlobalBorlandMakefileGenerator();
  22. static cmGlobalGeneratorFactory* NewFactory() {
  23. return new cmGlobalGeneratorSimpleFactory
  24. <cmGlobalBorlandMakefileGenerator>(); }
  25. ///! Get the name for the generator.
  26. virtual const char* GetName() const {
  27. return cmGlobalBorlandMakefileGenerator::GetActualName();}
  28. static const char* GetActualName() {return "Borland Makefiles";}
  29. /** Get the documentation entry for this generator. */
  30. static void GetDocumentation(cmDocumentationEntry& entry);
  31. ///! Create a local generator appropriate to this Global Generator
  32. virtual cmLocalGenerator *CreateLocalGenerator();
  33. /**
  34. * Try to determine system infomation such as shared library
  35. * extension, pthreads, byte order etc.
  36. */
  37. virtual void EnableLanguage(std::vector<std::string>const& languages,
  38. cmMakefile *, bool optional);
  39. virtual bool AllowNotParallel() const { return false; }
  40. };
  41. #endif