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