X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=74490dd60d5d643c77129402bcd92124826c613a;hb=c8e829c219c65ff8e93b6c7b66212ff0876441c5;hp=cf9f0547b3f2e019595867c8bb115740d79245b5;hpb=445edbc3c42bbd7880cc414cf153ddfd196bfc1c;p=builder.git diff --git a/Build b/Build index cf9f054..74490dd 100644 --- a/Build +++ b/Build @@ -1,17 +1,103 @@ package "builder" { - version "0.1"; + version "3.0"; description "Mikkosoft Productions software builder"; require "mspcore"; - require "mspstrings"; - require "mspparser"; - require "msppath"; + require "mspdatafile"; + require "mspcrypto"; require "sigc++-2.0"; + build_info + { + standard CXX "c++11"; + }; + + library "builtintools" + { + source "plugins/builtin"; + default false; + }; + + library "gnutools" + { + source "plugins/gnu"; + default false; + }; + + library "clangtools" + { + source "plugins/clang"; + default false; + }; + + library "msvctools" + { + source "plugins/msvc"; + default false; + }; + + library "androidtools" + { + source "plugins/android"; + default false; + }; + + library "datatools" + { + source "plugins/datafile"; + default false; + }; + + library "builder" + { + source "source/lib"; + use "builtintools"; + use "gnutools"; + use "clangtools"; + use "msvctools"; + use "androidtools"; + use "datatools"; + build_info + { + incpath "plugins"; + }; + if_arch "windows" + { + build_info + { + library "ole32"; + library "advapi32"; + }; + }; + install true; + install_map + { + map "source/lib" "include/msp/builder"; + }; + }; + program "builder" { - source "source"; + source "source/cli"; + use "builder"; install true; }; + + source_archive + { + source "bootstrap.sh"; + source "Readme.txt"; + source "License.txt"; + }; + + install "share/builder" + { + source "builderrc"; + }; + + install "share/builder/packages" + { + source "packages"; + }; };