X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=7e4a693b8b24858380839d03616bcb1c7c8039f0;hb=065568e3a84b596ea15f80f67574ea7708d4e111;hp=899274bc948e1c1a7e0c53367c5d7982fc610068;hpb=5d91f9edad6e8a11e21979a6aacb4ec6f2dc63ce;p=libs%2Fnet.git diff --git a/Build b/Build index 899274b..7e4a693 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,15 @@ package "mspnet" }; }; - headers "msp/net" - { - source "source"; - install true; - }; - library "mspnet" { - source "source"; + source "source/net"; + source "source/http"; install true; + install_map + { + map "source" "include/msp"; + }; }; program "netcat" @@ -29,4 +29,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"; + }; + }; };