cmGlobalNMakeMakefileGenerator.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 cmGlobalNMakeMakefileGenerator_h
  11. #define cmGlobalNMakeMakefileGenerator_h
  12. #include "cmGlobalUnixMakefileGenerator3.h"
  13. /** \class cmGlobalNMakeMakefileGenerator
  14. * \brief Write a NMake makefiles.
  15. *
  16. * cmGlobalNMakeMakefileGenerator manages nmake build process for a tree
  17. */
  18. class cmGlobalNMakeMakefileGenerator : public cmGlobalUnixMakefileGenerator3
  19. {
  20. public:
  21. cmGlobalNMakeMakefileGenerator(cmake* cm);
  22. static cmGlobalGeneratorFactory* NewFactory() {
  23. return new cmGlobalGeneratorSimpleFactory
  24. <cmGlobalNMakeMakefileGenerator>(); }
  25. ///! Get the name for the generator.
  26. virtual std::string GetName() const {
  27. return cmGlobalNMakeMakefileGenerator::GetActualName();}
  28. static std::string GetActualName() {return "NMake Makefiles";}
  29. /** Get the documentation entry for this generator. */
  30. static void GetDocumentation(cmDocumentationEntry& entry);
  31. /**
  32. * Try to determine system information 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