]> git.tdb.fi Git - libs/core.git/blob - Build
Fix seeking of Slice
[libs/core.git] / Build
1 package "mspcore"
2 {
3         version "2.0";
4         description "Mikkosoft Productions core library";
5
6         require "sigc++-2.0";
7         if_arch "!windows"
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 "zlib" "Support compression with zlib"
23         {
24                 default "yes";
25         };
26         if_feature "zlib"
27         {
28                 require "zlib";
29         };
30
31         library "mspcore"
32         {
33                 source "source/core";
34                 source "source/debug";
35                 source "source/time";
36                 source "source/strings";
37                 source "source/stringcodec";
38                 source "source/io";
39                 source "source/fs";
40                 install true;
41                 install_map
42                 {
43                         map "source" "include/msp";
44                 };
45         };
46
47         program "grep"
48         {
49                 source "examples/grep.cpp";
50                 build_info
51                 {
52                         library "mspcore";
53                 };
54         };
55
56         program "transcode"
57         {
58                 source "examples/transcode.cpp";
59                 build_info
60                 {
61                         library "mspcore";
62                 };
63         };
64
65         program "ls"
66         {
67                 source "examples/ls.cpp";
68                 build_info
69                 {
70                         library "mspcore";
71                 };
72         };
73
74         program "syncdir"
75         {
76                 source "examples/syncdir.cpp";
77                 build_info
78                 {
79                         library "mspcore";
80                 };
81         };
82
83         if_feature "zlib"
84         {
85                 program "z"
86                 {
87                         source "examples/z.cpp";
88                         build_info
89                         {
90                                 library "mspcore";
91                         };
92                 };
93         };
94
95         source_tarball
96         {
97                 source "License.txt";
98                 source "source/stringcodec/jisx0208.table";
99         };
100 };