X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=Build;h=e1f3fd7dc5bffe5140a0bf7449ce1d11716ff788;hp=3c44f713ac9697541c2f7db09b121f16eb3512f4;hb=967785734be5c3fc6f75da122c2d93ebbb338271;hpb=58384e355b4a78730d69243f1092e47591f2f384 diff --git a/Build b/Build index 3c44f71..e1f3fd7 100644 --- a/Build +++ b/Build @@ -1,11 +1,89 @@ -package "mspstrings" +/* $Id$ */ + +package "mspcore" { - require "mspmisc"; + version "1.1"; + description "Mikkosoft Productions core library"; + + require "sigc++-2.0"; + if "arch!=win32" + { + build_info + { + library "pthread"; + }; + }; + if "arch=linux" + { + build_info + { + library "dl"; + }; + }; + + feature "exception_backtrace" "Generate a backtrace when an exception is thrown."; + + headers "msp/core" + { + source "source/core"; + install true; + }; + + headers "msp/time" + { + source "source/time"; + install true; + }; + + headers "msp/debug" + { + source "source/debug"; + install true; + }; + + headers "msp/strings" + { + source "source/strings"; + install true; + }; + + headers "msp/stringcodec" + { + source "source/stringcodec"; + install true; + }; - library "mspstrings" + library "mspcore" { - source "source"; + source "source/core"; + source "source/debug"; + source "source/time"; + source "source/strings"; + source "source/stringcodec"; install true; - install_headers "msp/strings"; + }; + + program "grep" + { + source "grep.cpp"; + build_info + { + library "mspcore"; + }; + }; + + program "transcode" + { + source "transcode.cpp"; + build_info + { + library "mspcore"; + }; + }; + + tarball "@src" + { + source "License.txt"; + source "source/stringcodec/jisx0208.table"; }; };