diff options
author | Will Schroeder <will.schroeder@kitware.com> | 2001-01-10 22:05:42 (GMT) |
---|---|---|
committer | Will Schroeder <will.schroeder@kitware.com> | 2001-01-10 22:05:42 (GMT) |
commit | 26dbdd467193ba0d4931466c26daa3f05689e6c4 (patch) | |
tree | f11d30bb7b417202427a77a9642c56e19e2c646e /Source/cmDSPWriter.h | |
parent | 26f072dfe111164e7cd1f879a7483939ae3b0a19 (diff) | |
download | CMake-26dbdd467193ba0d4931466c26daa3f05689e6c4.zip CMake-26dbdd467193ba0d4931466c26daa3f05689e6c4.tar.gz CMake-26dbdd467193ba0d4931466c26daa3f05689e6c4.tar.bz2 |
ENH:Beginning clean up; adding documentation
Diffstat (limited to 'Source/cmDSPWriter.h')
-rw-r--r-- | Source/cmDSPWriter.h | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/Source/cmDSPWriter.h b/Source/cmDSPWriter.h index 6021842..7c61316 100644 --- a/Source/cmDSPWriter.h +++ b/Source/cmDSPWriter.h @@ -13,33 +13,47 @@ See COPYRIGHT.txt for copyright details. =========================================================================*/ -/** - * cmDSPMakefile generate a microsoft DSP project file. - * see the *.dsptemplate files for information on the templates - * used for making the project files. - */ #ifndef cmDSPMakefile_h #define cmDSPMakefile_h + #include "cmStandardIncludes.h" #include "cmMakefile.h" +/** \class cmDSPMakefile + * \brief Generate a Microsoft DSP project file. + * + * cmDSPMakefile generates a Microsoft DSP project file. + * See the *.dsptemplate files for information on the templates + * used for making the project files. + */ class cmDSPMakefile { public: cmDSPMakefile(cmMakefile*); ~cmDSPMakefile(); void OutputDSPFile(); - enum BuildType { STATIC_LIBRARY, DLL, EXECUTABLE }; - void SetBuildType(BuildType ); - // return array of created DSP names - // Each executable must have its own dsp + enum BuildType {STATIC_LIBRARY, DLL, EXECUTABLE}; + + /** + * Specify the type of the build: static, dll, or executable. + */ + void SetBuildType(BuildType); + + /** + * Return array of created DSP names in a STL vector. + * Each executable must have its own dsp. + */ std::vector<std::string> GetCreatedProjectNames() { - return m_CreatedProjectNames; + return m_CreatedProjectNames; } + + /** + * Return the makefile. + */ cmMakefile* GetMakefile() { - return m_Makefile; + return m_Makefile; } private: @@ -63,7 +77,7 @@ private: const char* source, const char* result, const char* command); -private: + std::string m_IncludeOptions; std::string m_DebugLibraryOptions; std::string m_ReleaseLibraryOptions; |