summaryrefslogtreecommitdiffstats
path: root/Source/cmMSProjectGenerator.h
diff options
context:
space:
mode:
authorWill Schroeder <will.schroeder@kitware.com>2001-01-11 19:47:38 (GMT)
committerWill Schroeder <will.schroeder@kitware.com>2001-01-11 19:47:38 (GMT)
commit88bbc0c30d3b98416e2bebea724a10ddb6eb5da2 (patch)
tree804510dc4cb816fbdddad5bdd7fc6e910b5fc357 /Source/cmMSProjectGenerator.h
parent336f3e80dbaf2f648a1a058538b8a8b1062156fa (diff)
downloadCMake-88bbc0c30d3b98416e2bebea724a10ddb6eb5da2.zip
CMake-88bbc0c30d3b98416e2bebea724a10ddb6eb5da2.tar.gz
CMake-88bbc0c30d3b98416e2bebea724a10ddb6eb5da2.tar.bz2
ENH:Documentation and cleanups
Diffstat (limited to 'Source/cmMSProjectGenerator.h')
-rw-r--r--Source/cmMSProjectGenerator.h50
1 files changed, 42 insertions, 8 deletions
diff --git a/Source/cmMSProjectGenerator.h b/Source/cmMSProjectGenerator.h
index 3272a42..e572db7 100644
--- a/Source/cmMSProjectGenerator.h
+++ b/Source/cmMSProjectGenerator.h
@@ -13,28 +13,62 @@
See COPYRIGHT.txt for copyright details.
=========================================================================*/
-/**
- * cmMSProjectGenerator - class to write a microsoft DSW file.
- */
#ifndef cmMSProjectGenerator_h
#define cmMSProjectGenerator_h
+
#include "cmStandardIncludes.h"
#include "cmMakefileGenerator.h"
class cmDSPMakefile;
class cmDSWMakefile;
-
+/** \class cmMSProjectGenerator
+ * \brief Write a Microsoft Visual C++ DSP (project) file.
+ *
+ * cmMSProjectGenerator produces a Microsoft Visual C++ DSP (project) file.
+ */
class cmMSProjectGenerator : public cmMakefileGenerator
{
public:
+ /**
+ * Constructor sets the generation of DSW files on.
+ */
cmMSProjectGenerator();
+
+ /**
+ * Destructor.
+ */
~cmMSProjectGenerator();
+
+ /**
+ * Produce the makefile (in this case a Microsoft Visual C++ project).
+ */
virtual void GenerateMakefile();
- void SetBuildDSP() { m_BuildDSW = false;}
- void SetBuildDSW() { m_BuildDSW = true;}
- cmDSWMakefile* GetDSWMakefile() { return m_DSWMakefile;}
- cmDSPMakefile* GetDSPMakefile() { return m_DSPMakefile;}
+
+ /**
+ * Turn off the generation of a Microsoft Visual C++ DSP file.
+ */
+ void BuildDSPOff()
+ {m_BuildDSW = false;}
+
+ /**
+ * Turn on the generation of a Microsoft Visual C++ DSW file.
+ */
+ void BuildDSWOn()
+ {m_BuildDSW = true;}
+
+ /**
+ * Retrieve a pointer to a cmDSWMakefile instance.
+ */
+ cmDSWMakefile* GetDSWMakefile()
+ {return m_DSWMakefile;}
+
+ /**
+ * Retrieve a pointer to a cmDSPMakefile instance.
+ */
+ cmDSPMakefile* GetDSPMakefile()
+ {return m_DSPMakefile;}
+
private:
cmDSWMakefile* m_DSWMakefile;
cmDSPMakefile* m_DSPMakefile;