]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
Add a tool to convert a mesh into C code
[libs/gl.git] / Build
diff --git a/Build b/Build
index 37e2ef7df93466310bd0d14303f61b71fe9e37c4..715969236ad3c787f34602b0d997ff9ba57bcddb 100644 (file)
--- a/Build
+++ b/Build
@@ -2,32 +2,37 @@
 
 package "mspgl"
 {
-       description "C++ wrappers for OpenGL";
-       version "0.1";
+       version "1.1";
+       description "Lightweight C++/OpenGL graphics engine";
 
-       // A bit of a hack until I get something better in builder
-       if "arch!=win32"
+       require "mspdatafile";
+       require "mspgbase";
+       require "opengl";
+
+       headers "msp/gl"
        {
-               require "opengl";
+               source "source";
+               install true;
        };
-       if "arch=win32"
+
+       library "mspgl"
        {
+               source "source";
+               install true;
+       };
+
+       program "mesh2c"
+       {
+               source "mesh2c.cpp";
                build_info
                {
-                       library "opengl32";
+                       library "mspgl";
                };
        };
-       require "mspdatafile";
-       require "devil";
-       build_info
-       {
-               library "ILU";
-       };
 
-       library "mspgl"
+       tarball "@src"
        {
-               source "source";
-               install true;
-               install_headers "msp/gl";
+               source "License.txt";
+               source "Changelog.txt";
        };
 };