]> git.tdb.fi Git - libs/core.git/blob - Build
Variable length arrays on stack are not valid C++
[libs/core.git] / Build
1 package "mspcore"
2 {
3         version "1.1";
4         description "Mikkosoft Productions core library";
5
6         require "sigc++-2.0";
7         if "arch!=win32"
8         {
9                 build_info
10                 {
11                         library "pthread";
12                 };
13         };
14         if "arch=linux"
15         {
16                 build_info
17                 {
18                         library "dl";
19                 };
20         };
21
22         headers "msp/core"
23         {
24                 source "source/core";
25                 install true;
26         };
27
28         headers "msp/time"
29         {
30                 source "source/time";
31                 install true;
32         };
33
34         headers "msp/debug"
35         {
36                 source "source/debug";
37                 install true;
38         };
39
40         headers "msp/strings"
41         {
42                 source "source/strings";
43                 install true;
44         };
45
46         headers "msp/stringcodec"
47         {
48                 source "source/stringcodec";
49                 install true;
50         };
51
52         headers "msp/io"
53         {
54                 source "source/io";
55                 install true;
56         };
57
58         headers "msp/fs"
59         {
60                 source "source/fs";
61                 install true;
62         };
63
64         library "mspcore"
65         {
66                 source "source/core";
67                 source "source/debug";
68                 source "source/time";
69                 source "source/strings";
70                 source "source/stringcodec";
71                 source "source/io";
72                 source "source/fs";
73                 install true;
74         };
75
76         program "grep"
77         {
78                 source "examples/grep.cpp";
79                 build_info
80                 {
81                         library "mspcore";
82                 };
83         };
84
85         program "transcode"
86         {
87                 source "examples/transcode.cpp";
88                 build_info
89                 {
90                         library "mspcore";
91                 };
92         };
93
94         program "ls"
95         {
96                 source "examples/ls.cpp";
97                 build_info
98                 {
99                         library "mspcore";
100                 };
101         };
102
103         program "syncdir"
104         {
105                 source "examples/syncdir.cpp";
106                 build_info
107                 {
108                         library "mspcore";
109                 };
110         };
111
112         tarball "@src"
113         {
114                 source "License.txt";
115                 source "source/stringcodec/jisx0208.table";
116         };
117 };