- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate OGL Studio project");
- wxMessageBox(msg);
- }
-
- // GLCanvas cube sample
-
- project.SetIncludeDirs(wxStringList("../../../../include", "../../win", 0));
- project.SetResourceIncludeDirs(wxStringList("../../../../include", 0));
- project.SetLibDirs(wxStringList("../../../../lib", 0));
- project.SetDebugLibDirs(wxStringList("../../../../src/Debug", "../../win/Debug", "../../../../src/jpeg/Debug", "../../../../src/tiff/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../../../src/Release", "../../win/Release", "../../../../src/jpeg/Release", "../../../../src/tiff/Release", 0));
-
- project.SetExtraLibs(wxStringList("glcanvas.lib", "opengl32.lib", "glu32.lib", 0));
-
- project.SetProjectName("CubeVC");
- project.SetTargetName("cube");
- project.SetProjectPath(dir + wxString("/utils/glcanvas/samples/cube"));
- project.SetSourceFiles(wxStringList("cube.cpp", "cube.h",
- 0));
-
- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate GLCanvas Cube project");
- wxMessageBox(msg);
- }
-
- // GLCanvas isosurf sample
-
- project.SetIncludeDirs(wxStringList("../../../../include", "../../win", 0));
- project.SetResourceIncludeDirs(wxStringList("../../../../include", 0));
- project.SetLibDirs(wxStringList("../../../../lib", 0));
- project.SetDebugLibDirs(wxStringList("../../../../src/Debug", "../../win/Debug", "../../../../src/jpeg/Debug", "../../../../src/tiff/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../../../src/Release", "../../win/Release", "../../../../src/jpeg/Release", "../../../../src/tiff/Release", 0));
- project.SetExtraLibs(wxStringList("glcanvas.lib", "opengl32.lib", "glu32.lib", 0));
-
- project.SetProjectName("IsoSurfVC");
- project.SetTargetName("isosurf");
- project.SetProjectPath(dir + wxString("/utils/glcanvas/samples/isosurf"));
- project.SetSourceFiles(wxStringList("isosurf.cpp", "isosurf.h",
- 0));
-
- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate GLCanvas IsoSurf project");
- wxMessageBox(msg);
- }
-
- // GLCanvas penguin sample
-
- project.SetIncludeDirs(wxStringList("../../../../include", "../../win", 0));
- project.SetResourceIncludeDirs(wxStringList("../../../../include", 0));
- project.SetLibDirs(wxStringList("../../../../lib", 0));
- project.SetDebugLibDirs(wxStringList("../../../../src/Debug", "../../win/Debug", "../../../../src/jpeg/Debug", "../../../../src/tiff/Debug", 0));
- project.SetReleaseLibDirs(wxStringList("../../../../src/Release", "../../win/Release", "../../../../src/jpeg/Release", "../../../../src/tiff/Release", 0));
- project.SetExtraLibs(wxStringList("glcanvas.lib", "opengl32.lib", "glu32.lib", 0));
-
- project.SetProjectName("PenguinVC");
- project.SetTargetName("penguin");
- project.SetProjectPath(dir + wxString("/utils/glcanvas/samples/penguin"));
- project.SetSourceFiles(wxStringList("penguin.cpp", "penguin.h",
- "lw.cpp", "lw.h",
- "trackball.c", "trackball.h",
- 0));
-
- if (!project.GenerateVCProject())
- {
- wxString msg("Could not generate GLCanvas Penguin project");
- wxMessageBox(msg);
- }