]> git.tdb.fi Git - libs/core.git/blobdiff - Build
Add Debug::Profiler
[libs/core.git] / Build
diff --git a/Build b/Build
index bec4c611147ddd37f86acb54d416b7c75421831b..d7dfac8dfb1ad5c98b4af54c5bf00937de80adaa 100644 (file)
--- a/Build
+++ b/Build
@@ -1,19 +1,22 @@
+/* $Id$ */
+
 package "mspcore"
 {
        version "0.1";
        description "Mikkosoft Productions core library";
 
-       require "mspmisc";
-       require "pthread";
        require "sigc++-2.0";
-
-       library "mspcore"
+       if "arch!=win32"
        {
-               source "source/core";
-               source "source/time";
-               install true;
+               require "pthread";
+               build_info
+               {
+                       library "dl";
+               };
        };
 
+       feature "exception_backtrace" "Generate a backtrace when an exception is thrown.";
+
        headers "core"
        {
                source "source/core";
@@ -25,4 +28,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;
+       };
 };