]> git.tdb.fi Git - builder.git/blob - Build
Convert builtin tools into a plugin
[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 "androidtools"
17         {
18                 source "plugins/android";
19                 default false;
20         };
21
22         library "datatools"
23         {
24                 source "plugins/datafile";
25                 default false;
26         };
27
28         library "libbuilder"
29         {
30                 source "source/lib";
31                 use "androidtools";
32                 use "datatools";
33                 build_info
34                 {
35                         incpath "plugins";
36                 };
37                 if_arch "windows"
38                 {
39                         build_info
40                         {
41                                 library "ole32";
42                                 library "advapi32";
43                         };
44                 };
45                 install true;
46                 install_map
47                 {
48                         map "source/lib" "include/msp/builder";
49                 };
50         };
51
52         program "builder"
53         {
54                 source "source/cli";
55                 use "libbuilder";
56                 install true;
57         };
58
59         module "builtintools"
60         {
61                 source "plugins/builtin";
62                 install true;
63         };
64
65         module "gnutools"
66         {
67                 source "plugins/gnu";
68                 install true;
69         };
70
71         module "clangtools"
72         {
73                 source "plugins/clang";
74                 install true;
75         };
76
77         module "msvctools"
78         {
79                 source "plugins/msvc";
80                 install true;
81         };
82
83         source_archive
84         {
85                 source "bootstrap.sh";
86                 source "Readme.txt";
87                 source "License.txt";
88         };
89
90         install "share/builder"
91         {
92                 source "builderrc";
93         };
94
95         install "share/builder/packages"
96         {
97                 source "packages";
98         };
99 };