]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
A complex demo program to show off features of the engine
[libs/gl.git] / Build
diff --git a/Build b/Build
index 7e98f4c724343e4cad002181e5f4ffcb4ae02976..8c537eb76051d49ad8d9cc8a0f8a2fb09f574720 100644 (file)
--- 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";