X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=Build;h=404ddbf42f6d8eb5a4426d17105c344f3b3a5ab3;hp=899274bc948e1c1a7e0c53367c5d7982fc610068;hb=5f312d842b55f53ac78ae2c658cab064debe74e6;hpb=5d91f9edad6e8a11e21979a6aacb4ec6f2dc63ce diff --git a/Build b/Build index 899274b..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,16 +10,23 @@ package "mspnet" }; }; - headers "msp/net" - { - source "source"; - install true; - }; - library "mspnet" { - source "source"; + 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" @@ -29,4 +37,22 @@ package "mspnet" library "mspnet"; }; }; + + program "httpget" + { + source "examples/httpget.cpp"; + build_info + { + library "mspnet"; + }; + }; + + program "minihttpd" + { + source "examples/minihttpd.cpp"; + build_info + { + library "mspnet"; + }; + }; };