X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=Build;h=8c537eb76051d49ad8d9cc8a0f8a2fb09f574720;hp=37e2ef7df93466310bd0d14303f61b71fe9e37c4;hb=7f08a54a61db86c60f06f4ddef529aa37e0d3d9c;hpb=a4ec5410595ddf37bfbc0e85ad87d31a9cbf94f1 diff --git a/Build b/Build index 37e2ef7d..8c537eb7 100644 --- a/Build +++ b/Build @@ -1,33 +1,80 @@ -/* $Id$ */ - package "mspgl" { - description "C++ wrappers for OpenGL"; - version "0.1"; + version "1.1"; + 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"; }; };