]> 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 80517649dd0e8c9fcf5b46035ce30f3793c18d4d..621857dccd8b2e08ebeded6715ff303df8f4a9d3 100644 (file)
--- a/Build
+++ b/Build
@@ -1,18 +1,79 @@
-package "mspio"
+package "mspcore"
 {
-       version "1.0";
-       description "Object-oriented input/output library";
+       version "1.1";
+       description "Mikkosoft Productions core library";
 
-       tar_file "License.txt";
-
-       require "mspstrings";
-       require "mspcore";
        require "sigc++-2.0";
+       if_arch "!windows"
+       {
+               build_info
+               {
+                       library "pthread";
+               };
+       };
+       if_arch "linux"
+       {
+               build_info
+               {
+                       library "dl";
+               };
+       };
 
-       library "mspio"
+       library "mspcore"
        {
-               source "source";
+               source "source/core";
+               source "source/debug";
+               source "source/time";
+               source "source/strings";
+               source "source/stringcodec";
+               source "source/io";
+               source "source/fs";
                install true;
-               install_headers "msp/io";
+               install_map
+               {
+                       map "source" "include/msp";
+               };
+       };
+
+       program "grep"
+       {
+               source "examples/grep.cpp";
+               build_info
+               {
+                       library "mspcore";
+               };
+       };
+
+       program "transcode"
+       {
+               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";
        };
 };