]> git.tdb.fi Git - libs/core.git/blob - Build
Only require -ldl on Linux
[libs/core.git] / Build
1 /* $Id$ */
2
3 package "mspcore"
4 {
5         version "1.0";
6         description "Mikkosoft Productions core library";
7
8         tar_file "License.txt";
9
10         require "sigc++-2.0";
11         if "arch!=win32"
12         {
13                 build_info
14                 {
15                         library "pthread";
16                 };
17         };
18         if "arch=linux"
19         {
20                 build_info
21                 {
22                         library "dl";
23                 };
24         };
25
26         feature "exception_backtrace" "Generate a backtrace when an exception is thrown.";
27
28         headers "core"
29         {
30                 source "source/core";
31                 install_headers "msp/core";
32         };
33
34         headers "time"
35         {
36                 source "source/time";
37                 install_headers "msp/time";
38         };
39
40         headers "debug"
41         {
42                 source "source/debug";
43                 install_headers "msp/debug";
44         };
45
46         library "mspcore"
47         {
48                 source "source/core";
49                 source "source/debug";
50                 source "source/time";
51                 install true;
52         };
53 };