]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Trap and explain uncaught exceptions
[libs/core.git] / Build
diff --git a/Build b/Build
index bec4c611147ddd37f86acb54d416b7c75421831b..b7d5d5b717a2155036d4301e27a8a01b41effaac 100644 (file)
--- a/Build
+++ b/Build
@@ -3,13 +3,18 @@ package "mspcore"
        version "0.1";
        description "Mikkosoft Productions core library";
 
-       require "mspmisc";
-       require "pthread";
        require "sigc++-2.0";
+       if "arch!=win32"
+       {
+               require "pthread";
+       };
+
+       feature "exception_backtrace" "Generate a backtrace when an exception is thrown.";
 
        library "mspcore"
        {
                source "source/core";
+               source "source/debug";
                source "source/time";
                install true;
        };
@@ -25,4 +30,10 @@ package "mspcore"
                source "source/time";
                install_headers "msp/time";
        };
+
+       headers "debug"
+       {
+               source "source/debug";
+               install_headers "msp/debug";
+       };
 };