diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-01-05 16:41:20 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-01-05 16:41:20 (GMT) |
commit | c54a05bfc799f3e88459956ec37698bab22c27f9 (patch) | |
tree | 400b2eb0b6853952a4faa8c0fc41b90eb06deaec /Source/cmDSWWriter.h | |
parent | d888b5e39d4e01af538b48ad16c2a6a474de34a0 (diff) | |
download | CMake-c54a05bfc799f3e88459956ec37698bab22c27f9.zip CMake-c54a05bfc799f3e88459956ec37698bab22c27f9.tar.gz CMake-c54a05bfc799f3e88459956ec37698bab22c27f9.tar.bz2 |
ENH: rework cmake, added ruleMaker classes and changed the syntax of the CMakeLists.txt files.
Diffstat (limited to 'Source/cmDSWWriter.h')
-rw-r--r-- | Source/cmDSWWriter.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Source/cmDSWWriter.h b/Source/cmDSWWriter.h index 4a2fbf9..6a476b7 100644 --- a/Source/cmDSWWriter.h +++ b/Source/cmDSWWriter.h @@ -18,28 +18,27 @@ */ #ifndef cmDSWMakefile_h #define cmDSWMakefile_h -#ifdef _MSC_VER -#pragma warning ( disable : 4786 ) -#endif - +#include "cmStandardIncludes.h" #include "cmMakefile.h" -#include <vector> -class cmDSPMakefile; +class cmDSPMakefile; +class cmMSProjectGenerator; -class cmDSWMakefile : public cmMakefile +class cmDSWMakefile { public: + cmDSWMakefile(cmMakefile*); virtual void OutputDSWFile(); private: void FindAllCMakeListsFiles(const char* subdir, - std::vector<cmDSPMakefile*>&); + std::vector<cmMSProjectGenerator*>&); void WriteDSWFile(std::ostream& fout); void WriteDSWHeader(std::ostream& fout); void WriteProject(std::ostream& fout, - const char* name, const char* path, - cmMakefile* project); + const char* name, const char* path, + cmDSPMakefile* project); void WriteDSWFooter(std::ostream& fout); + cmMakefile* m_Makefile; }; #endif |