summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileGenerator.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-12 15:49:10 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-12 15:49:10 (GMT)
commitc8c89b653fb49befaa8f0771523b5254ea1a7d7e (patch)
tree74850ae8fb020aa610dfa7fee0b5e10bd96d9d15 /Source/cmMakefileGenerator.h
parent271e6ec3741e58d319e1c08142802f19bcebb73c (diff)
downloadCMake-c8c89b653fb49befaa8f0771523b5254ea1a7d7e.zip
CMake-c8c89b653fb49befaa8f0771523b5254ea1a7d7e.tar.gz
CMake-c8c89b653fb49befaa8f0771523b5254ea1a7d7e.tar.bz2
new arch
Diffstat (limited to 'Source/cmMakefileGenerator.h')
-rw-r--r--Source/cmMakefileGenerator.h86
1 files changed, 0 insertions, 86 deletions
diff --git a/Source/cmMakefileGenerator.h b/Source/cmMakefileGenerator.h
deleted file mode 100644
index 84a806c..0000000
--- a/Source/cmMakefileGenerator.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*=========================================================================
-
- 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 cmMakefileGenerator_h
-#define cmMakefileGenerator_h
-
-#include "cmStandardIncludes.h"
-
-class cmMakefile;
-class cmClassFile;
-
-/** \class cmMakefileGenerator
- * \brief Provide an abstract interface for classes generating makefiles.
- *
- * Subclasses of this abstract class generate makefiles for various
- * platforms.
- */
-class cmMakefileGenerator
-{
-public:
- /**
- * Try running cmake and building a file. This is used for dynalically
- * loaded commands, not as part of the usual build process.
- */
- virtual int TryCompile(const char *srcdir, const char *bindir,
- const char *projectName) = 0;
-
- ///! Get the name for the generator.
- virtual const char* GetName() = 0;
-
- ///! virtual copy constructor
- virtual cmMakefileGenerator* CreateObject() = 0;
-
- ///! Set the cmMakefile instance from which to generate the makefile.
- void SetMakefile(cmMakefile*);
-
- /**
- * Generate the makefile using the m_Makefile, m_CustomCommands,
- * and m_ExtraSourceFiles. All subclasses of cmMakefileGenerator
- * must implement this method.
- */
- virtual void GenerateMakefile() = 0;
-
- /**
- * The local setting indicates that the generator is producing a
- * fully configured makefile in the current directory. In Microsoft
- * terms it is producing a DSP file if local is true and a DSW file
- * if local is false. On UNIX when local is false it skips the
- * dependecy check and recurses the full tree building the structure
- */
- virtual void SetLocal(bool ) {};
-
- /**
- * Try to determine system infomation such as shared library
- * extension, pthreads, byte order etc.
- */
- virtual void EnableLanguage(const char*) = 0;
-
- virtual ~cmMakefileGenerator(){};
-
- /**
- * Set/Get and Clear the enabled languages.
- */
- static void SetLanguageEnabled(const char*);
- static bool GetLanguageEnabled(const char*);
- static void ClearEnabledLanguages();
-protected:
- cmMakefile* m_Makefile;
-private:
- static std::map<cmStdString, bool> s_LanguageEnabled;
-};
-
-#endif