summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPBuilder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDSPBuilder.cxx')
-rw-r--r--Source/cmDSPBuilder.cxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/Source/cmDSPBuilder.cxx b/Source/cmDSPBuilder.cxx
new file mode 100644
index 0000000..b732d96
--- /dev/null
+++ b/Source/cmDSPBuilder.cxx
@@ -0,0 +1,31 @@
+#ifdef _MSC_VER
+#pragma warning ( disable : 4786 )
+#endif
+#include "cmDSPBuilder.h"
+#include "cmDSPMakefile.h"
+
+cmDSPBuilder::~cmDSPBuilder()
+{
+ delete m_Makefile;
+}
+
+cmDSPBuilder::cmDSPBuilder()
+{
+ m_Makefile = new cmDSPMakefile;
+}
+
+cmMakefile* cmDSPBuilder::GetMakefile()
+{
+ return m_Makefile;
+}
+
+
+void cmDSPBuilder::CreateDSPFile()
+{
+ m_Makefile->OutputDSPFile();
+}
+
+std::vector<std::string> cmDSPBuilder::GetCreatedProjectNames()
+{
+ return m_Makefile->GetCreatedProjectNames();
+}