Update Build for latest changes in Builder
[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 "!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         library "mspcore"
23         {
24                 source "source/core";
25                 source "source/debug";
26                 source "source/time";
27                 source "source/strings";
28                 source "source/stringcodec";
29                 source "source/io";
30                 source "source/fs";
31                 install true;
32                 install_map
33                 {
34                         map "source" "include/msp";
35                 };
36         };
37
38         program "grep"
39         {
40                 source "examples/grep.cpp";
41                 build_info
42                 {
43                         library "mspcore";
44                 };
45         };
46
47         program "transcode"
48         {
49                 source "examples/transcode.cpp";
50                 build_info
51                 {
52                         library "mspcore";
53                 };
54         };
55
56         program "ls"
57         {
58                 source "examples/ls.cpp";
59                 build_info
60                 {
61                         library "mspcore";
62                 };
63         };
64
65         program "syncdir"
66         {
67                 source "examples/syncdir.cpp";
68                 build_info
69                 {
70                         library "mspcore";
71                 };
72         };
73
74         source_tarball
75         {
76                 source "License.txt";
77                 source "source/stringcodec/jisx0208.table";
78         };
79 };