]> git.tdb.fi Git - libs/core.git/blob - Build
Merge branch 'io-master'
[libs/core.git] / Build
1 /* $Id$ */
2
3 package "mspcore"
4 {
5         version "1.1";
6         description "Mikkosoft Productions core library";
7
8         require "sigc++-2.0";
9         if "arch!=win32"
10         {
11                 build_info
12                 {
13                         library "pthread";
14                 };
15         };
16         if "arch=linux"
17         {
18                 build_info
19                 {
20                         library "dl";
21                 };
22         };
23
24         feature "exception_backtrace" "Generate a backtrace when an exception is thrown.";
25
26         headers "msp/core"
27         {
28                 source "source/core";
29                 install true;
30         };
31
32         headers "msp/time"
33         {
34                 source "source/time";
35                 install true;
36         };
37
38         headers "msp/debug"
39         {
40                 source "source/debug";
41                 install true;
42         };
43
44         headers "msp/strings"
45         {
46                 source "source/strings";
47                 install true;
48         };
49
50         headers "msp/stringcodec"
51         {
52                 source "source/stringcodec";
53                 install true;
54         };
55
56         headers "msp/io"
57         {
58                 source "src/io";
59                 install true;
60         };
61
62         library "mspcore"
63         {
64                 source "source/core";
65                 source "source/debug";
66                 source "source/time";
67                 source "source/strings";
68                 source "source/stringcodec";
69                 source "source/io";
70                 install true;
71         };
72
73         program "grep"
74         {
75                 source "grep.cpp";
76                 build_info
77                 {
78                         library "mspcore";
79                 };
80         };
81
82         program "transcode"
83         {
84                 source "transcode.cpp";
85                 build_info
86                 {
87                         library "mspcore";
88                 };
89         };
90
91         tarball "@src"
92         {
93                 source "License.txt";
94                 source "source/stringcodec/jisx0208.table";
95         };
96 };