]> git.tdb.fi Git - libs/core.git/blob - Build
Fix formatted output operator detection in lexicalcast.h
[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         build_info
8         {
9                 threads true;
10         };
11         if_arch "linux"
12         {
13                 build_info
14                 {
15                         library "dl";
16                 };
17         };
18         if_arch "android"
19         {
20                 build_info
21                 {
22                         library "android";
23                         library "log";
24                 };
25         };
26
27         if_arch "darwin"
28         {
29                 build_info
30                 {
31                         library "Foundation.framework";
32                 };
33         };
34
35         feature "zlib" "Support compression with zlib"
36         {
37                 default "yes";
38         };
39         if_feature "zlib"
40         {
41                 require "zlib";
42         };
43
44         library "mspcore"
45         {
46                 source "source/core";
47                 source "source/debug";
48                 source "source/time";
49                 source "source/strings";
50                 source "source/stringcodec";
51                 source "source/io";
52                 source "source/fs";
53                 if_arch "windows"
54                 {
55                         overlay "windows";
56                 };
57                 if_arch "darwin"
58                 {
59                         overlay "osx";
60                 };
61                 if_arch "android"
62                 {
63                         overlay "android";
64                         build_info
65                         {
66                                 keep_symbol "ANativeActivity_onCreate";
67                         };
68                 };
69                 if_arch "!windows"
70                 {
71                         overlay "unix";
72                 };
73                 overlay "generic";
74                 install true;
75                 install_map
76                 {
77                         map "source" "include/msp";
78                 };
79         };
80
81         program "grep"
82         {
83                 source "examples/grep.cpp";
84                 use "mspcore";
85         };
86
87         program "transcode"
88         {
89                 source "examples/transcode.cpp";
90                 use "mspcore";
91         };
92
93         program "ls"
94         {
95                 source "examples/ls.cpp";
96                 use "mspcore";
97         };
98
99         program "syncdir"
100         {
101                 source "examples/syncdir.cpp";
102                 use "mspcore";
103         };
104
105         if_feature "zlib"
106         {
107                 program "z"
108                 {
109                         source "examples/z.cpp";
110                         use "mspcore";
111                 };
112         };
113
114         source_tarball
115         {
116                 source "License.txt";
117                 source "source/stringcodec/jisx0208.table";
118         };
119 };