X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=7b64dde536c62abed41f022938407f56bf71fa84;hb=44ac1183d7a4d54088561cc7ce8fe5f3120c4b35;hp=37e2ef7df93466310bd0d14303f61b71fe9e37c4;hpb=a4ec5410595ddf37bfbc0e85ad87d31a9cbf94f1;p=libs%2Fgl.git diff --git a/Build b/Build index 37e2ef7d..7b64dde5 100644 --- a/Build +++ b/Build @@ -1,33 +1,80 @@ -/* $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 "mspgui"; + require "opengl"; - // A bit of a hack until I get something better in builder - if "arch!=win32" + library "mspgl" { - require "opengl"; + source "source"; + install true; + install_map + { + map "source" "include/msp/gl"; + }; }; - if "arch=win32" + + program "mesh2c" { + source "tools/mesh2c.cpp"; build_info { - library "opengl32"; + library "mspgl"; }; }; - require "mspdatafile"; - require "devil"; - build_info + + program "viewer" { - library "ILU"; + source "tools/viewer.cpp"; + build_info + { + library "mspgl"; + }; }; - library "mspgl" + program "shaders" { - source "source"; - install true; - install_headers "msp/gl"; + source "demos/shaders.cpp"; + build_info + { + library "mspgl"; + }; + }; + + program "texturing" + { + source "demos/texturing.cpp"; + build_info + { + library "mspgl"; + }; + }; + + program "cubemap" + { + source "demos/cubemap.cpp"; + build_info + { + library "mspgl"; + }; + }; + + program "desertpillars" + { + source "demos/desertpillars.cpp"; + build_info + { + library "mspgl"; + }; + }; + + source_tarball + { + source "License.txt"; + source "Changelog.txt"; }; };