X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=Build;h=404ddbf42f6d8eb5a4426d17105c344f3b3a5ab3;hp=47032c49d60cceabb380eb2fd5e8dd4d467a72c4;hb=5f312d842b55f53ac78ae2c658cab064debe74e6;hpb=5b161886744ecbf3960ffe6ee5601df6d4a217ce diff --git a/Build b/Build index 47032c4..404ddbf 100644 --- 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" @@ -45,4 +46,13 @@ package "mspnet" library "mspnet"; }; }; + + program "minihttpd" + { + source "examples/minihttpd.cpp"; + build_info + { + library "mspnet"; + }; + }; };