]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Fix GetOpt to get strings correctly
[libs/core.git] / Build
diff --git a/Build b/Build
index bec4c611147ddd37f86acb54d416b7c75421831b..253b93b5e10b53b058deda677e632f9d9deffc72 100644 (file)
--- a/Build
+++ b/Build
@@ -1,18 +1,29 @@
+/* $Id$ */
+
 package "mspcore"
 {
-       version "0.1";
+       version "1.0";
        description "Mikkosoft Productions core library";
 
-       require "mspmisc";
-       require "pthread";
-       require "sigc++-2.0";
+       tar_file "License.txt";
 
-       library "mspcore"
+       require "sigc++-2.0";
+       if "arch!=win32"
        {
-               source "source/core";
-               source "source/time";
-               install true;
+               build_info
+               {
+                       library "pthread";
+               };
        };
+       if "arch=linux"
+       {
+               build_info
+               {
+                       library "dl";
+               };
+       };
+
+       feature "exception_backtrace" "Generate a backtrace when an exception is thrown.";
 
        headers "core"
        {
@@ -25,4 +36,18 @@ package "mspcore"
                source "source/time";
                install_headers "msp/time";
        };
+
+       headers "debug"
+       {
+               source "source/debug";
+               install_headers "msp/debug";
+       };
+
+       library "mspcore"
+       {
+               source "source/core";
+               source "source/debug";
+               source "source/time";
+               install true;
+       };
 };