X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=Build;h=7447df7716604235e67eb5bfbed26c16410b5e40;hb=e9eec476bd26fb3f15d96d5bc91597770814768c;hp=338611954e8895141c2d05f90761d77c71302709;hpb=77d8b98374ab07be0d14c9c88502c6a803041040;p=libs%2Fgui.git diff --git a/Build b/Build index 3386119..7447df7 100644 --- a/Build +++ b/Build @@ -2,17 +2,18 @@ package "mspgbase" { - description "Mikkosoft Productions graphics base library"; - version "0.0"; + version "1.0"; + description "Base graphics and input library"; + + tar_file "License.txt"; + tar_file "Changelog.txt"; require "mspcore"; require "mspstrings"; require "sigc++-2.0"; - // The OpenGL stuff is hackish, but only way to do it right now if "arch!=win32" { require "xlib"; - require "opengl"; build_info { library "Xxf86vm"; @@ -22,15 +23,45 @@ package "mspgbase" { build_info { - library "opengl32"; library "gdi32"; }; }; + feature "devil" "Include DevIL support for loading image files"; + if "with_devil" + { + require "devil"; + }; + + feature "libpng" "Include libpng support for loading PNG files (also requires libmspio)"; + if "with_png" + { + require "libpng"; + require "mspio"; + }; + + feature "opengl" "Include support for OpenGL contexts"; + if "with_opengl" + { + require "opengl"; + }; + + 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"; }; };