diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-08-29 19:26:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-08-29 19:26:29 (GMT) |
commit | 1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88 (patch) | |
tree | a7b88a2e4397167c0d6c72c9cf0fcf8f91dcd024 /Source/cmDSWWriter.h | |
parent | d6bdba1096f36268e414f32829e22159e983031a (diff) | |
download | CMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.zip CMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.tar.gz CMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.tar.bz2 |
NEW: move from tools and config to create CMake
Diffstat (limited to 'Source/cmDSWWriter.h')
-rw-r--r-- | Source/cmDSWWriter.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Source/cmDSWWriter.h b/Source/cmDSWWriter.h new file mode 100644 index 0000000..e4036a1 --- /dev/null +++ b/Source/cmDSWWriter.h @@ -0,0 +1,42 @@ +/*========================================================================= + + Program: Insight Segmentation & Registration Toolkit + Module: $RCSfile$ + Language: C++ + Date: $Date$ + Version: $Revision$ + + + Copyright (c) 2000 National Library of Medicine + All rights reserved. + + See COPYRIGHT.txt for copyright details. + +=========================================================================*/ +/** + * cmDSWMakefile - class to write a microsoft DSW file. + */ +#ifndef cmDSWMakefile_h +#define cmDSWMakefile_h +#ifdef _MSC_VER +#pragma warning ( disable : 4786 ) +#endif + +#include "cmMakefile.h" +#include <vector> + + +class cmDSWMakefile : public cmMakefile +{ +public: + virtual void OutputDSWFile(); +private: + void WriteDSWFile(std::ostream& fout); + void WriteDSWHeader(std::ostream& fout); + std::vector<std::string> CreateDSPFile(const char* dir); + void WriteProject(std::ostream& fout, + const char* name, const char* path); + void WriteDSWFooter(std::ostream& fout); +}; + +#endif |