1 /*=========================================================================
3 Program: Insight Segmentation & Registration Toolkit
4 Module: $RCSfile: cmDSWWriter.h,v $
6 Date: $Date: 2002-01-21 20:30:22 $
7 Version: $Revision: 1.11 $
9 Copyright (c) 2002 Insight Consortium. All rights reserved.
10 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
20 #include "cmStandardIncludes.h"
21 #include "cmMakefile.h"
24 class cmMSProjectGenerator
;
26 /** \class cmDSWWriter
27 * \brief Write a Microsoft Visual C++ DSW (workspace) file.
29 * cmDSWWriter produces a Microsoft Visual C++ DSW (workspace) file.
37 cmDSWWriter(cmMakefile
*);
40 * Generate the DSW workspace file.
42 virtual void OutputDSWFile();
45 void WriteDSWFile(std::ostream
& fout
);
46 void WriteDSWHeader(std::ostream
& fout
);
47 void WriteProject(std::ostream
& fout
,
48 const char* name
, const char* path
,
49 cmDSPWriter
* project
, const cmTarget
&t
);
50 void WriteExternalProject(std::ostream
& fout
,
51 const char* name
, const char* path
,
52 const std::vector
<std::string
>& dependencies
);
53 void WriteDSWFooter(std::ostream
& fout
);
54 cmMakefile
* m_Makefile
;