]> git.tdb.fi Git - libs/gui.git/blobdiff - Build
Add an event handling example
[libs/gui.git] / Build
diff --git a/Build b/Build
index a5baddd1fd409ae884cef557d21cff7f791b59f0..0f29bb238b49fc49a13b2f595b335fcb9d0fac00 100644 (file)
--- a/Build
+++ b/Build
@@ -1,12 +1,9 @@
-/* $Id$ */
-
-package "mspgbase"
+package "mspgui"
 {
        version "1.1";
        description "Base graphics and input library";
 
        require "mspcore";
-       require "mspstrings";
        require "sigc++-2.0";
        if "arch!=win32"
        {
@@ -26,14 +23,13 @@ package "mspgbase"
                require "devil";
        };
 
-       feature "libpng" "Include libpng support for loading PNG files (also requires libmspio)"
+       feature "libpng" "Include libpng support for loading PNG files"
        {
                default "yes";
        };
        if "with_libpng"
        {
                require "libpng";
-               require "mspio";
        };
 
        feature "opengl" "Include support for OpenGL contexts"
@@ -54,9 +50,9 @@ package "mspgbase"
                };
        };
 
-       headers "msp/gbase"
+       headers "msp/graphics"
        {
-               source "source/gbase";
+               source "source/graphics";
                install true;
        };
 
@@ -66,13 +62,22 @@ package "mspgbase"
                install true;
        };
 
-       library "mspgbase"
+       library "mspgui"
        {
-               source "source/gbase";
+               source "source/graphics";
                source "source/input";
                install true;
        };
 
+       program "ev"
+       {
+               source "examples/ev.cpp";
+               build_info
+               {
+                       library "mspgui";
+               };
+       };
+
        tarball "@src"
        {
                source "License.txt";