]> git.tdb.fi Git - builder.git/blobdiff - Build
Correct MSVC tools' input suffixes
[builder.git] / Build
diff --git a/Build b/Build
index 2363ad785cd8a760c4cab3d8ed4d2c58cf4661e1..9f94ecbdea9593353fd48273e1420998518de13d 100644 (file)
--- a/Build
+++ b/Build
@@ -1,15 +1,21 @@
 package "builder"
 {
-       version "2.0";
+       version "3.0";
        description "Mikkosoft Productions software builder";
 
        require "mspcore";
        require "mspdatafile";
+       require "mspcrypto";
        require "sigc++-2.0";
 
-       program "builder"
+       build_info
        {
-               source "source";
+               standard CXX "c++11";
+       };
+
+       library "libbuilder"
+       {
+               source "source/lib";
                if_arch "windows"
                {
                        build_info
@@ -19,6 +25,53 @@ package "builder"
                        };
                };
                install true;
+               install_map
+               {
+                       map "source/lib" "include/msp/builder";
+               };
+       };
+
+       program "builder"
+       {
+               source "source/cli";
+               use "libbuilder";
+               install true;
+       };
+
+       module "androidtools"
+       {
+               source "plugins/android";
+               install true;
+       };
+
+       module "basetools"
+       {
+               source "plugins/base";
+               install true;
+       };
+
+       module "datatools"
+       {
+               source "plugins/datafile";
+               install true;
+       };
+
+       module "gnutools"
+       {
+               source "plugins/gnu";
+               install true;
+       };
+
+       module "clangtools"
+       {
+               source "plugins/clang";
+               install true;
+       };
+
+       module "msvctools"
+       {
+               source "plugins/msvc";
+               install true;
        };
 
        source_archive