]> git.tdb.fi Git - libs/core.git/blob - Build
Style fix: add whitespace
[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         feature "exception_backtrace" "Generate a backtrace when an exception is thrown.";
23
24         headers "msp/core"
25         {
26                 source "source/core";
27                 install true;
28         };
29
30         headers "msp/time"
31         {
32                 source "source/time";
33                 install true;
34         };
35
36         headers "msp/debug"
37         {
38                 source "source/debug";
39                 install true;
40         };
41
42         headers "msp/strings"
43         {
44                 source "source/strings";
45                 install true;
46         };
47
48         headers "msp/stringcodec"
49         {
50                 source "source/stringcodec";
51                 install true;
52         };
53
54         headers "msp/io"
55         {
56                 source "source/io";
57                 install true;
58         };
59
60         headers "msp/fs"
61         {
62                 source "source/fs";
63                 install true;
64         };
65
66         library "mspcore"
67         {
68                 source "source/core";
69                 source "source/debug";
70                 source "source/time";
71                 source "source/strings";
72                 source "source/stringcodec";
73                 source "source/io";
74                 source "source/fs";
75                 install true;
76         };
77
78         program "grep"
79         {
80                 source "examples/grep.cpp";
81                 build_info
82                 {
83                         library "mspcore";
84                 };
85         };
86
87         program "transcode"
88         {
89                 source "examples/transcode.cpp";
90                 build_info
91                 {
92                         library "mspcore";
93                 };
94         };
95
96         program "ls"
97         {
98                 source "examples/ls.cpp";
99                 build_info
100                 {
101                         library "mspcore";
102                 };
103         };
104
105         tarball "@src"
106         {
107                 source "License.txt";
108                 source "source/stringcodec/jisx0208.table";
109         };
110 };