blob: c3b38f0e5c92bde2e675e5bc0056e05b0630f6fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#include "cmMSProjectGenerator.h"
#include "cmDSWMakefile.h"
#include "cmDSPMakefile.h"
cmMSProjectGenerator::cmMSProjectGenerator()
{
m_DSWMakefile = 0;
m_DSPMakefile = 0;
BuildDSWOn();
}
void cmMSProjectGenerator::GenerateMakefile()
{
if(m_BuildDSW)
{
m_DSWMakefile = new cmDSWMakefile(m_Makefile);
m_DSWMakefile->OutputDSWFile();
}
else
{
m_DSPMakefile = new cmDSPMakefile(m_Makefile);
m_DSPMakefile->OutputDSPFile();
}
}
cmMSProjectGenerator::~cmMSProjectGenerator()
{
delete m_DSPMakefile;
delete m_DSWMakefile;
}
|