]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Update Build for latest changes in Builder
[libs/core.git] / Build
diff --git a/Build b/Build
index d172391103c3d5d57894284d7083105aa5fa5de1..621857dccd8b2e08ebeded6715ff303df8f4a9d3 100644 (file)
--- a/Build
+++ b/Build
@@ -1,32 +1,79 @@
 package "mspcore"
 {
-       version "0.1";
+       version "1.1";
        description "Mikkosoft Productions core library";
 
        require "sigc++-2.0";
-       if "arch!=win32"
+       if_arch "!windows"
        {
-               require "pthread";
+               build_info
+               {
+                       library "pthread";
+               };
+       };
+       if_arch "linux"
+       {
+               build_info
+               {
+                       library "dl";
+               };
        };
-
-       feature "exception_backtrace" "Generate a backtrace when an exception is thrown.";
 
        library "mspcore"
        {
                source "source/core";
+               source "source/debug";
                source "source/time";
+               source "source/strings";
+               source "source/stringcodec";
+               source "source/io";
+               source "source/fs";
                install true;
+               install_map
+               {
+                       map "source" "include/msp";
+               };
        };
 
-       headers "core"
+       program "grep"
        {
-               source "source/core";
-               install_headers "msp/core";
+               source "examples/grep.cpp";
+               build_info
+               {
+                       library "mspcore";
+               };
        };
 
-       headers "time"
+       program "transcode"
        {
-               source "source/time";
-               install_headers "msp/time";
+               source "examples/transcode.cpp";
+               build_info
+               {
+                       library "mspcore";
+               };
+       };
+
+       program "ls"
+       {
+               source "examples/ls.cpp";
+               build_info
+               {
+                       library "mspcore";
+               };
+       };
+
+       program "syncdir"
+       {
+               source "examples/syncdir.cpp";
+               build_info
+               {
+                       library "mspcore";
+               };
+       };
+
+       source_tarball
+       {
+               source "License.txt";
+               source "source/stringcodec/jisx0208.table";
        };
 };