]> git.tdb.fi Git - libs/gl.git/blob - Build
Introduce a typedef for uniform layout hashes in Program
[libs/gl.git] / Build
1 package "mspgl"
2 {
3         version "2.0";
4         description "Lightweight C++/OpenGL graphics engine";
5
6         require "mspcore";
7         require "mspdatafile";
8         require "mspmath";
9         require "mspgui";
10         require "opengl";
11
12         generate "GLEX"
13         {
14                 in_suffix ".glext";
15                 out_suffix ".cpp";
16                 out_suffix ".h";
17                 command "scripts/extgen.py";
18         };
19
20         library "mspgl"
21         {
22                 source "source";
23                 source "extensions";
24                 install true;
25                 install_map
26                 {
27                         map "source" "include/msp/gl";
28                         map "extensions" "include/msp/gl/extensions";
29                 };
30         };
31
32         program "mesh2c"
33         {
34                 source "tools/mesh2c.cpp";
35                 use "mspgl";
36         };
37
38         program "viewer"
39         {
40                 source "tools/viewer.cpp";
41                 require "sigc++-2.0";
42                 use "mspgl";
43         };
44
45         program "shaders"
46         {
47                 source "demos/shaders.cpp";
48                 use "mspgl";
49         };
50
51         program "texturing"
52         {
53                 source "demos/texturing.cpp";
54                 use "mspgl";
55         };
56
57         program "cubemap"
58         {
59                 source "demos/cubemap.cpp";
60                 use "mspgl";
61         };
62
63         program "desertpillars"
64         {
65                 source "demos/desertpillars.cpp";
66                 require "sigc++-2.0";
67                 use "mspgl";
68         };
69
70         source_tarball
71         {
72                 source "License.txt";
73                 source "Changelog.txt";
74         };
75 };