require "mspgui";
require "opengl";
+ generate "GLEX"
+ {
+ in_suffix ".glext";
+ out_suffix ".cpp";
+ out_suffix ".h";
+ command "scripts/extgen.py";
+ };
+
library "mspgl"
{
source "source";
+ source "extensions";
install true;
install_map
{
map "source" "include/msp/gl";
+ map "extensions" "include/msp/gl/extensions";
};
};
program "mesh2c"
{
source "tools/mesh2c.cpp";
- build_info
- {
- library "mspgl";
- };
+ use "mspgl";
};
program "viewer"
{
source "tools/viewer.cpp";
- build_info
- {
- library "mspgl";
- };
+ require "sigc++-2.0";
+ use "mspgl";
};
program "shaders"
{
source "demos/shaders.cpp";
- build_info
- {
- library "mspgl";
- };
+ use "mspgl";
};
program "texturing"
{
source "demos/texturing.cpp";
- build_info
- {
- library "mspgl";
- };
+ use "mspgl";
};
program "cubemap"
{
source "demos/cubemap.cpp";
- build_info
- {
- library "mspgl";
- };
+ use "mspgl";
};
program "desertpillars"
{
source "demos/desertpillars.cpp";
- build_info
- {
- library "mspgl";
- };
+ require "sigc++-2.0";
+ use "mspgl";
};
source_tarball