- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate hhp2cached 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", "../../../src/jpeg/Debug", "../../../src/tiff/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../../src/Release", "../../../src/jpeg/Release", "../../../src/tiff/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);
- }
-
- // OGLEdit
-
- project.SetIncludeDirs(wxStringList("../../../../include", "../../src", 0));
- project.SetResourceIncludeDirs(wxStringList("../../../../include", 0));
- project.SetLibDirs(wxStringList("../../../../lib", 0));
- project.SetDebugLibDirs(wxStringList("../../../../src/Debug", "../../src/Debug", "../../../../src/jpeg/Debug", "../../../../src/tiff/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../../../src/Release", "../../src/Release", "../../../../src/jpeg/Release", "../../../../src/tiff/Release", 0));
-
- project.SetExtraLibs(wxStringList("ogl.lib", 0));
-
- project.SetProjectName("OGLEditVC");
- project.SetTargetName("ogledit");
- project.SetProjectPath(dir + wxString("/utils/ogl/samples/ogledit"));
- project.SetSourceFiles(wxStringList("ogledit.cpp", "doc.cpp", "palette.cpp", "view.cpp",
- "doc.h", "ogledit.h", "palette.h", "view.h",
- 0));
-
- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate OGLEdit project");
- wxMessageBox(msg);
- }
-
- // OGL Studio
-
- project.SetIncludeDirs(wxStringList("../../../../include", "../../src", 0));
- project.SetResourceIncludeDirs(wxStringList("../../../../include", 0));
- project.SetLibDirs(wxStringList("../../../../lib", 0));
- project.SetDebugLibDirs(wxStringList("../../../../src/Debug", "../../src/Debug", "../../../../src/jpeg/Debug", "../../../../src/tiff/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../../../src/Release", "../../src/Release", "../../../../src/jpeg/Release", "../../../../src/tiff/Release", 0));
- project.SetExtraLibs(wxStringList("ogl.lib", 0));
-
- project.SetProjectName("StudioVC");
- project.SetTargetName("studio");
- project.SetProjectPath(dir + wxString("/utils/ogl/samples/studio"));
- project.SetSourceFiles(wxStringList("studio.cpp", "cspalette.cpp", "dialogs.cpp", "view.cpp",
- "doc.cpp", "mainfrm.cpp", "project.cpp", "shapes.cpp", "symbols.cpp", "csprint.cpp",
- "studio.h", "cspalette.h", "dialogs.h", "view.h",
- "doc.h", "mainfrm.h", "project.h", "shapes.h", "symbols.h",
- 0));
-
- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate OGL Studio project");
- wxMessageBox(msg);
- }