X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=0f29bb238b49fc49a13b2f595b335fcb9d0fac00;hb=5ccbbe9ba2daa4d5f0c047be022f6cfeec946598;hp=591c30d58bfa8cc88fb7bd90e42458e01a104d2f;hpb=683370ff99fb5d645ca4ef434ec4f3be1984364c;p=libs%2Fgui.git diff --git a/Build b/Build index 591c30d..0f29bb2 100644 --- a/Build +++ b/Build @@ -1,15 +1,9 @@ -/* $Id$ */ - -package "mspgbase" +package "mspgui" { - version "1.0"; + version "1.1"; description "Base graphics and input library"; - tar_file "License.txt"; - tar_file "Changelog.txt"; - require "mspcore"; - require "mspstrings"; require "sigc++-2.0"; if "arch!=win32" { @@ -29,14 +23,19 @@ package "mspgbase" require "devil"; }; - feature "libpng" "Include libpng support for loading PNG files (also requires libmspio)"; - if "with_png" + 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"; + feature "opengl" "Include support for OpenGL contexts" + { + default "yes"; + }; if "with_opengl" { require "opengl"; @@ -51,22 +50,37 @@ package "mspgbase" }; }; - headers "gbase" + headers "msp/graphics" { - source "source/gbase"; - install_headers "msp/gbase"; + source "source/graphics"; + install true; }; - headers "input" + 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"; + }; };