]> 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 be79a976edd6eeb3394f4392b573d610397a07a7..8c537eb76051d49ad8d9cc8a0f8a2fb09f574720 100644 (file)
--- a/Build
+++ b/Build
@@ -8,16 +8,14 @@ package "mspgl"
        require "mspgui";
        require "opengl";
 
-       headers "msp/gl"
-       {
-               source "source";
-               install true;
-       };
-
        library "mspgl"
        {
                source "source";
                install true;
+               install_map
+               {
+                       map "source" "include/msp/gl";
+               };
        };
 
        program "mesh2c"
@@ -56,7 +54,25 @@ package "mspgl"
                };
        };
 
-       tarball "@src"
+       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";