]> git.tdb.fi Git - libs/gl.git/blob - Build
Make the use of DevIL optional
[libs/gl.git] / Build
1 /* $Id$ */
2
3 package "mspgl"
4 {
5         description "C++ wrappers for OpenGL";
6         version "0.1";
7
8         feature "devil" "Include DevIL support for loading image files";
9
10         // A bit of a hack until I get something better in builder
11         if "arch!=win32"
12         {
13                 require "opengl";
14         };
15         if "arch=win32"
16         {
17                 build_info
18                 {
19                         library "opengl32";
20                 };
21         };
22         require "mspdatafile";
23         if "with_devil"
24         {
25                 require "devil";
26                 build_info
27                 {
28                         library "ILU";
29                 };
30         };
31
32         library "mspgl"
33         {
34                 source "source";
35                 install true;
36                 install_headers "msp/gl";
37         };
38 };