]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
Use libmspmath to provide vector and matrix operations
[libs/gl.git] / Build
diff --git a/Build b/Build
index be79a976edd6eeb3394f4392b573d610397a07a7..cb03fd379b5e393296fb9b46cea9411ce5fa2acb 100644 (file)
--- a/Build
+++ b/Build
@@ -1,23 +1,22 @@
 package "mspgl"
 {
-       version "1.1";
+       version "2.0";
        description "Lightweight C++/OpenGL graphics engine";
 
        require "mspcore";
        require "mspdatafile";
+       require "mspmath";
        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 +55,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";