X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=Build;h=404ddbf42f6d8eb5a4426d17105c344f3b3a5ab3;hp=1ed9db85befa7188f494ecf7db832e83285b4347;hb=5f312d842b55f53ac78ae2c658cab064debe74e6;hpb=debe1004676d5431e571d9c4361072661dcc88c4 diff --git a/Build b/Build index 1ed9db8..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,28 +10,46 @@ package "mspnet" }; }; - headers "msp/net" + 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"; + }; }; - headers "msp/http" + program "netcat" { - source "source/http"; - install true; + source "examples/netcat.cpp"; + build_info + { + library "mspnet"; + }; }; - library "mspnet" + program "httpget" { - source "source/net"; - source "source/http"; - install true; + source "examples/httpget.cpp"; + build_info + { + library "mspnet"; + }; }; - program "netcat" + program "minihttpd" { - source "examples/netcat.cpp"; + source "examples/minihttpd.cpp"; build_info { library "mspnet";