summaryrefslogtreecommitdiff
path: root/Source/cmGlobalNMakeMakefileGenerator.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-30 16:01:48 -0400
committerKen Martin <ken.martin@kitware.com>2002-08-30 16:01:48 -0400
commita888ba53faad5027a5f7941971a56a959035505f (patch)
tree5cd39c49f6a5708b55d19a32a7cc01d023cac9c9 /Source/cmGlobalNMakeMakefileGenerator.h
parent3ffc4b2ee1cabf1815c6b615f43d92aefa9c2597 (diff)
downloadcmake-a888ba53faad5027a5f7941971a56a959035505f.tar.gz
in progress
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.h')
-rw-r--r--Source/cmGlobalNMakeMakefileGenerator.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.h b/Source/cmGlobalNMakeMakefileGenerator.h
new file mode 100644
index 0000000000..43124ce1f1
--- /dev/null
+++ b/Source/cmGlobalNMakeMakefileGenerator.h
@@ -0,0 +1,45 @@
+/*=========================================================================
+
+ Program: Insight Segmentation & Registration Toolkit
+ Module: $RCSfile$
+ Language: C++
+ Date: $Date$
+ Version: $Revision$
+
+ Copyright (c) 2002 Insight Consortium. All rights reserved.
+ See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+#ifndef cmGlobalNMakeMakefileGenerator_h
+#define cmGlobalNMakeMakefileGenerator_h
+
+#include "cmGlobalUNIXMakefileGenerator.h"
+
+/** \class cmGlobalNMakeMakefileGenerator
+ * \brief Write a NMake makefiles.
+ *
+ * cmGlobalNMakeMakefileGenerator manages nmake build process for a tree
+ */
+class cmGlobalNMakeMakefileGenerator : public cmGlobalUnixMakefileGenerator
+{
+public:
+ ///! Get the name for the generator.
+ virtual const char* GetName() {
+ return cmGlobalNMakeMakefileGenerator::GetActualName();}
+ static const char* GetActualName() {return "NMake Makefiles";}
+
+ ///! Create a local generator appropriate to this Global Generator
+ virtual cmLocalGenerator *CreateLocalGenerator();
+
+ /**
+ * Try to determine system infomation such as shared library
+ * extension, pthreads, byte order etc.
+ */
+ virtual void EnableLanguage(const char*,cmMakefile *mf);
+};
+
+#endif