X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=1aae9864be396b10511dbcc663e831f7b254eac4;hb=169057d48d44846bc433753f20ee884204be9192;hp=06505b582a2300153992e026f6d2aba43a9f95da;hpb=a5797c9babd17673285b3b15c7572c2d8fe1595c;p=libs%2Fgl.git diff --git a/Build b/Build index 06505b58..1aae9864 100644 --- a/Build +++ b/Build @@ -1,17 +1,75 @@ -/* $Id$ */ - package "mspgl" { - description "C++ wrappers for OpenGL"; - version "0.1"; + 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_headers "msp/gl"; + 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"; }; };