]> git.tdb.fi Git - libs/gui.git/blob - Build
Drop Id tags and copyright notices from files
[libs/gui.git] / Build
1 package "mspgbase"
2 {
3         version "1.1";
4         description "Base graphics and input library";
5
6         require "mspcore";
7         require "mspstrings";
8         require "sigc++-2.0";
9         if "arch!=win32"
10         {
11                 require "xlib";
12         };
13         if "arch=win32"
14         {
15                 build_info
16                 {
17                         library "gdi32";
18                 };
19         };
20
21         feature "devil" "Include DevIL support for loading image files";
22         if "with_devil"
23         {
24                 require "devil";
25         };
26
27         feature "libpng" "Include libpng support for loading PNG files (also requires libmspio)"
28         {
29                 default "yes";
30         };
31         if "with_libpng"
32         {
33                 require "libpng";
34                 require "mspio";
35         };
36
37         feature "opengl" "Include support for OpenGL contexts"
38         {
39                 default "yes";
40         };
41         if "with_opengl"
42         {
43                 require "opengl";
44         };
45
46         feature "xf86vidmode" "Include support for video mode switching with xf86vidmode (not win32)";
47         if "with_xf86vidmode and arch!=win32"
48         {
49                 build_info
50                 {
51                         library "Xxf86vm";
52                 };
53         };
54
55         headers "msp/gbase"
56         {
57                 source "source/gbase";
58                 install true;
59         };
60
61         headers "msp/input"
62         {
63                 source "source/input";
64                 install true;
65         };
66
67         library "mspgbase"
68         {
69                 source "source/gbase";
70                 source "source/input";
71                 install true;
72         };
73
74         tarball "@src"
75         {
76                 source "License.txt";
77                 source "Changelog.txt";
78         };
79 };