package "mspgl" { version "2.0"; description "Lightweight C++/OpenGL graphics engine"; require "mspcore"; require "mspdatafile"; require "mspmath"; 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"; use "mspgl"; }; program "viewer" { source "tools/viewer.cpp"; require "sigc++-2.0"; use "mspgl"; }; program "shaders" { source "demos/shaders.cpp"; use "mspgl"; }; program "texturing" { source "demos/texturing.cpp"; use "mspgl"; }; program "cubemap" { source "demos/cubemap.cpp"; use "mspgl"; }; program "desertpillars" { source "demos/desertpillars.cpp"; require "sigc++-2.0"; use "mspgl"; }; source_tarball { source "License.txt"; source "Changelog.txt"; }; };