]> git.tdb.fi Git - builder.git/blob - Build
Convert the simpler toolchains into plugins
[builder.git] / Build
1 package "builder"
2 {
3         version "3.0";
4         description "Mikkosoft Productions software builder";
5
6         require "mspcore";
7         require "mspdatafile";
8         require "mspcrypto";
9         require "sigc++-2.0";
10
11         build_info
12         {
13                 standard CXX "c++11";
14         };
15
16         library "builtintools"
17         {
18                 source "plugins/builtin";
19                 default false;
20         };
21
22         library "androidtools"
23         {
24                 source "plugins/android";
25                 default false;
26         };
27
28         library "datatools"
29         {
30                 source "plugins/datafile";
31                 default false;
32         };
33
34         library "libbuilder"
35         {
36                 source "source/lib";
37                 use "builtintools";
38                 use "androidtools";
39                 use "datatools";
40                 build_info
41                 {
42                         incpath "plugins";
43                 };
44                 if_arch "windows"
45                 {
46                         build_info
47                         {
48                                 library "ole32";
49                                 library "advapi32";
50                         };
51                 };
52                 install true;
53                 install_map
54                 {
55                         map "source/lib" "include/msp/builder";
56                 };
57         };
58
59         program "builder"
60         {
61                 source "source/cli";
62                 use "libbuilder";
63                 install true;
64         };
65
66         module "gnutools"
67         {
68                 source "plugins/gnu";
69                 install true;
70         };
71
72         module "clangtools"
73         {
74                 source "plugins/clang";
75                 install true;
76         };
77
78         module "msvctools"
79         {
80                 source "plugins/msvc";
81                 install true;
82         };
83
84         source_archive
85         {
86                 source "bootstrap.sh";
87                 source "Readme.txt";
88                 source "License.txt";
89         };
90
91         install "share/builder"
92         {
93                 source "builderrc";
94         };
95
96         install "share/builder/packages"
97         {
98                 source "packages";
99         };
100 };