- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate Tex2RTF project");
- wxMessageBox(msg);
- }
-
- // HelpGen
- project.SetIncludeDirs(wxStringList("../../../include", 0));
- project.SetResourceIncludeDirs(wxStringList("../../../include", 0));
- project.SetLibDirs(wxStringList("../../../lib", 0));
- project.SetDebugLibDirs(wxStringList("../../../src/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../../src/Release", 0));
-
- project.SetProjectName("HelpGenVC");
- project.SetTargetName("helpgen");
- project.SetProjectPath(dir + wxString("/utils/helpgen/src"));
- project.SetSourceFiles(wxStringList("helpgen.cpp", "cjparser.cpp", "docripper.cpp", "ifcontext.cpp",
- "markup.cpp", "ripper_main.cpp", "scriptbinder.cpp", "sourcepainter.cpp",
- "srcparser.cpp",
- "cjparser.h", "docripper.h", "ifcontext.h", "markup.h", "scriptbinder.h", "sourcepainter.h",
- "srcparser.h", "wxstlac.h", "wxstllst.h", "wxstlvec.h", 0));
-
- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate HelpGen project");
- wxMessageBox(msg);
- }
-
- // ProjGen
- project.SetIncludeDirs(wxStringList("../../include", 0));
- project.SetResourceIncludeDirs(wxStringList("../../include", 0));
- project.SetLibDirs(wxStringList("../../lib", 0));
- project.SetDebugLibDirs(wxStringList("../../src/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../src/Release", 0));
-
- project.SetProjectName("ProjGenVC");
- project.SetTargetName("makeproj");
- project.SetProjectPath(dir + wxString("/utils/projgen"));
- project.SetSourceFiles(wxStringList("makeproj.cpp", "makeproj.h", 0));
-
- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate ProjGen project");
- wxMessageBox(msg);
- }
-
- // wxTreeLayout sample
-
- project.SetIncludeDirs(wxStringList("../../../include", 0));
- project.SetResourceIncludeDirs(wxStringList("../../../include", 0));
- project.SetLibDirs(wxStringList("../../../lib", 0));
- project.SetDebugLibDirs(wxStringList("../../../src/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../../src/Release", 0));
-
- project.SetProjectName("TreeSampleVC");
- project.SetTargetName("test");
- project.SetProjectPath(dir + wxString("/utils/wxtree/src"));
- project.SetSourceFiles(wxStringList("test.cpp", "wxtree.cpp", "test.h", "wxtree.h", 0));
-
- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate wxTreeLayout project");
- wxMessageBox(msg);
- }