cmGlobalBorlandMakefileGenerator.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmGlobalBorlandMakefileGenerator_h
  4. #define cmGlobalBorlandMakefileGenerator_h
  5. #include "cmGlobalNMakeMakefileGenerator.h"
  6. /** \class cmGlobalBorlandMakefileGenerator
  7. * \brief Write a Borland makefiles.
  8. *
  9. * cmGlobalBorlandMakefileGenerator manages nmake build process for a tree
  10. */
  11. class cmGlobalBorlandMakefileGenerator : public cmGlobalUnixMakefileGenerator3
  12. {
  13. public:
  14. cmGlobalBorlandMakefileGenerator(cmake* cm);
  15. static cmGlobalGeneratorFactory* NewFactory()
  16. {
  17. return new cmGlobalGeneratorSimpleFactory<
  18. cmGlobalBorlandMakefileGenerator>();
  19. }
  20. ///! Get the name for the generator.
  21. virtual std::string GetName() const
  22. {
  23. return cmGlobalBorlandMakefileGenerator::GetActualName();
  24. }
  25. static std::string GetActualName() { return "Borland Makefiles"; }
  26. /** Get the documentation entry for this generator. */
  27. static void GetDocumentation(cmDocumentationEntry& entry);
  28. ///! Create a local generator appropriate to this Global Generator
  29. virtual cmLocalGenerator* CreateLocalGenerator(cmMakefile* mf);
  30. /**
  31. * Try to determine system information such as shared library
  32. * extension, pthreads, byte order etc.
  33. */
  34. virtual void EnableLanguage(std::vector<std::string> const& languages,
  35. cmMakefile*, bool optional);
  36. virtual bool AllowNotParallel() const { return false; }
  37. virtual bool AllowDeleteOnError() const { return false; }
  38. };
  39. #endif