cmGlobalNMakeMakefileGenerator.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*=========================================================================
  2. Program: Insight Segmentation & Registration Toolkit
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Insight Consortium. All rights reserved.
  8. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm 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 cmGlobalNMakeMakefileGenerator_h
  14. #define cmGlobalNMakeMakefileGenerator_h
  15. #include "cmGlobalUNIXMakefileGenerator.h"
  16. /** \class cmGlobalNMakeMakefileGenerator
  17. * \brief Write a NMake makefiles.
  18. *
  19. * cmGlobalNMakeMakefileGenerator manages nmake build process for a tree
  20. */
  21. class cmGlobalNMakeMakefileGenerator : public cmGlobalUnixMakefileGenerator
  22. {
  23. public:
  24. ///! Get the name for the generator.
  25. virtual const char* GetName() {
  26. return cmGlobalNMakeMakefileGenerator::GetActualName();}
  27. static const char* GetActualName() {return "NMake Makefiles";}
  28. ///! Create a local generator appropriate to this Global Generator
  29. virtual cmLocalGenerator *CreateLocalGenerator();
  30. /**
  31. * Try to determine system infomation such as shared library
  32. * extension, pthreads, byte order etc.
  33. */
  34. virtual void EnableLanguage(const char*,cmMakefile *mf);
  35. /**
  36. * Try to determine system infomation from another generator
  37. */
  38. virtual void EnableLanguagesFromGenerator(cmGlobalGenerator *gen,
  39. cmMakefile *mf)
  40. {
  41. this->cmGlobalGenerator::EnableLanguagesFromGenerator(gen,mf);
  42. }
  43. };
  44. #endif