]> git.tdb.fi Git - libs/gui.git/blobdiff - Build
Bump version for release
[libs/gui.git] / Build
diff --git a/Build b/Build
index 338611954e8895141c2d05f90761d77c71302709..e38839992f43de2e965e899e34d1527d77e760f2 100644 (file)
--- a/Build
+++ b/Build
@@ -2,17 +2,18 @@
 
 package "mspgbase"
 {
-       description "Mikkosoft Productions graphics base library";
-       version "0.0";
+       version "0.9";
+       description "Base graphics and input library";
+
+       tar_file "License.txt";
 
        require "mspcore";
        require "mspstrings";
        require "sigc++-2.0";
-       // The OpenGL stuff is hackish, but only way to do it right now
+       require "opengl";
        if "arch!=win32"
        {
                require "xlib";
-               require "opengl";
                build_info
                {
                        library "Xxf86vm";
@@ -22,15 +23,32 @@ package "mspgbase"
        {
                build_info
                {
-                       library "opengl32";
                        library "gdi32";
                };
        };
 
+       feature "devil" "Include DevIL support for loading image files";
+       if "with_devil"
+       {
+               require "devil";
+       };
+
+       headers "gbase"
+       {
+               source "source/gbase";
+               install_headers "msp/gbase";
+       };
+
+       headers "input"
+       {
+               source "source/input";
+               install_headers "msp/input";
+       };
+
        library "mspgbase"
        {
-               source "source";
+               source "source/gbase";
+               source "source/input";
                install true;
-               install_headers "msp/gbase";
        };
 };