]> git.tdb.fi Git - libs/net.git/blobdiff - Build
Some largely cosmetic touch-up
[libs/net.git] / Build
diff --git a/Build b/Build
index 01d3a842699b8f7ac2c705c7c9440b9981eb6df6..404ddbf42f6d8eb5a4426d17105c344f3b3a5ab3 100644 (file)
--- a/Build
+++ b/Build
@@ -1,7 +1,8 @@
 package "mspnet"
 {
+       require "sigc++-2.0";
        require "mspcore";
-       if "arch=win32"
+       if_arch "windows"
        {
                build_info
                {
@@ -9,23 +10,23 @@ package "mspnet"
                };
        };
 
-       headers "msp/net"
-       {
-               source "source/net";
-               install true;
-       };
-
-       headers "msp/http"
-       {
-               source "source/http";
-               install true;
-       };
-
        library "mspnet"
        {
                source "source/net";
                source "source/http";
+               if_arch "windows"
+               {
+                       overlay "windows";
+               };
+               if_arch "!windows"
+               {
+                       overlay "unix";
+               };
                install true;
+               install_map
+               {
+                       map "source" "include/msp";
+               };
        };
 
        program "netcat"