X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=Build;h=8c537eb76051d49ad8d9cc8a0f8a2fb09f574720;hp=7e98f4c724343e4cad002181e5f4ffcb4ae02976;hb=7f08a54a61db86c60f06f4ddef529aa37e0d3d9c;hpb=e77c027ce8efb5dafd93bdd0f77504218a955665 diff --git a/Build b/Build index 7e98f4c7..8c537eb7 100644 --- a/Build +++ b/Build @@ -1,27 +1,78 @@ -/* $Id$ */ - package "mspgl" { version "1.1"; description "Lightweight C++/OpenGL graphics engine"; + require "mspcore"; require "mspdatafile"; - require "mspgbase"; + require "mspgui"; require "opengl"; - headers "msp/gl" + library "mspgl" { source "source"; install true; + install_map + { + map "source" "include/msp/gl"; + }; }; - library "mspgl" + program "mesh2c" { - source "source"; - install true; + source "tools/mesh2c.cpp"; + build_info + { + library "mspgl"; + }; + }; + + program "viewer" + { + source "tools/viewer.cpp"; + build_info + { + library "mspgl"; + }; + }; + + program "shaders" + { + 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"; + }; }; - tarball "@src" + source_tarball { source "License.txt"; source "Changelog.txt";