X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=a75473b6a210c20a9c9a150f9076f76cf88e059d;hb=39ec5cd588bf8b49717033d841be689df68537a3;hp=efb857bc0be93e8f5c4503bfdac0a416cac82774;hpb=2d1312772711709fc44cb1a39283329864c25100;p=libs%2Fgui.git diff --git a/Build b/Build index efb857b..a75473b 100644 --- a/Build +++ b/Build @@ -2,22 +2,59 @@ 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"; - require "xlib"; + if "arch!=win32" + { + require "xlib"; + build_info + { + library "Xxf86vm"; + }; + }; + if "arch=win32" + { + build_info + { + library "gdi32"; + }; + }; + + feature "devil" "Include DevIL support for loading image files"; + if "with_devil" + { + require "devil"; + }; - build_info + feature "opengl" "Include support for OpenGL contexts"; + if "with_opengl" { - library "Xxf86vm"; + 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"; }; };