cmGlobalWatcomWMakeGenerator.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 cmGlobalWatcomWMakeGenerator_h
  11. #define cmGlobalWatcomWMakeGenerator_h
  12. #include "cmGlobalUnixMakefileGenerator3.h"
  13. /** \class cmGlobalWatcomWMakeGenerator
  14. * \brief Write a NMake makefiles.
  15. *
  16. * cmGlobalWatcomWMakeGenerator manages nmake build process for a tree
  17. */
  18. class cmGlobalWatcomWMakeGenerator : public cmGlobalUnixMakefileGenerator3
  19. {
  20. public:
  21. cmGlobalWatcomWMakeGenerator();
  22. static cmGlobalGenerator* New() { return new cmGlobalWatcomWMakeGenerator; }
  23. ///! Get the name for the generator.
  24. virtual const char* GetName() const {
  25. return cmGlobalWatcomWMakeGenerator::GetActualName();}
  26. static const char* GetActualName() {return "Watcom WMake";}
  27. /** Get the documentation entry for this generator. */
  28. virtual void GetDocumentation(cmDocumentationEntry& entry) const;
  29. ///! Create a local generator appropriate to this Global Generator
  30. virtual cmLocalGenerator *CreateLocalGenerator();
  31. /**
  32. * Try to determine system infomation such as shared library
  33. * extension, pthreads, byte order etc.
  34. */
  35. virtual void EnableLanguage(std::vector<std::string>const& languages,
  36. cmMakefile *, bool optional);
  37. };
  38. #endif