]> git.tdb.fi Git - libs/gui.git/blob - Build
a75473b6a210c20a9c9a150f9076f76cf88e059d
[libs/gui.git] / Build
1 /* $Id$ */
2
3 package "mspgbase"
4 {
5         version "1.0";
6         description "Base graphics and input library";
7
8         tar_file "License.txt";
9         tar_file "Changelog.txt";
10
11         require "mspcore";
12         require "mspstrings";
13         require "sigc++-2.0";
14         if "arch!=win32"
15         {
16                 require "xlib";
17                 build_info
18                 {
19                         library "Xxf86vm";
20                 };
21         };
22         if "arch=win32"
23         {
24                 build_info
25                 {
26                         library "gdi32";
27                 };
28         };
29
30         feature "devil" "Include DevIL support for loading image files";
31         if "with_devil"
32         {
33                 require "devil";
34         };
35
36         feature "opengl" "Include support for OpenGL contexts";
37         if "with_opengl"
38         {
39                 require "opengl";
40         };
41
42         headers "gbase"
43         {
44                 source "source/gbase";
45                 install_headers "msp/gbase";
46         };
47
48         headers "input"
49         {
50                 source "source/input";
51                 install_headers "msp/input";
52         };
53
54         library "mspgbase"
55         {
56                 source "source/gbase";
57                 source "source/input";
58                 install true;
59         };
60 };