X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=0f29bb238b49fc49a13b2f595b335fcb9d0fac00;hb=e8ebbdbe8dbaec58f9e661efa3124118705fcd13;hp=8c834be037858b481c49574b05dedb50ed5a7b61;hpb=aeb2546fc11a7e27a02a47e85756746330253742;p=libs%2Fgui.git diff --git a/Build b/Build index 8c834be..0f29bb2 100644 --- a/Build +++ b/Build @@ -1,21 +1,13 @@ -/* $Id$ */ - -package "mspgbase" +package "mspgui" { - description "Mikkosoft Productions graphics base library"; - version "0.0"; + version "1.1"; + description "Base graphics and input library"; require "mspcore"; - require "mspstrings"; require "sigc++-2.0"; - require "opengl"; if "arch!=win32" { require "xlib"; - build_info - { - library "Xxf86vm"; - }; }; if "arch=win32" { @@ -31,22 +23,64 @@ package "mspgbase" require "devil"; }; - headers "gbase" + feature "libpng" "Include libpng support for loading PNG files" { - source "source/gbase"; - install_headers "msp/gbase"; + default "yes"; + }; + if "with_libpng" + { + require "libpng"; }; - headers "input" + feature "opengl" "Include support for OpenGL contexts" + { + default "yes"; + }; + if "with_opengl" + { + require "opengl"; + }; + + feature "xf86vidmode" "Include support for video mode switching with xf86vidmode (not win32)"; + if "with_xf86vidmode and arch!=win32" + { + build_info + { + library "Xxf86vm"; + }; + }; + + headers "msp/graphics" + { + source "source/graphics"; + install true; + }; + + headers "msp/input" { source "source/input"; - install_headers "msp/input"; + 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"; + source "Changelog.txt"; + }; };