X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=cc0de245bd23b79f129703c769d0b6cd5a16ae0d;hb=6a135773515b020ea3f163a11d06150ae5c0e69f;hp=b83b3c7c12c37f67140ce45ed70e2c13de3ce958;hpb=a361efc05fcad11b2918f3cd7abdebe794b131d8;p=libs%2Fgl.git diff --git a/Build b/Build index b83b3c7c..cc0de245 100644 --- a/Build +++ b/Build @@ -5,12 +5,28 @@ package "mspgl" description "C++ wrappers for OpenGL"; version "0.1"; - require "opengl"; + feature "devil" "Include DevIL support for loading image files"; + + // A bit of a hack until I get something better in builder + if "arch!=win32" + { + require "opengl"; + }; + if "arch=win32" + { + build_info + { + library "opengl32"; + }; + }; require "mspdatafile"; - require "devil"; - build_info + if "with_devil" { - library "ILU"; + require "devil"; + build_info + { + library "ILU"; + }; }; library "mspgl"