X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=Build;h=7e4a693b8b24858380839d03616bcb1c7c8039f0;hp=1ed9db85befa7188f494ecf7db832e83285b4347;hb=b4e0f7ed23f24e78fd09c9b7f206279e16d38c1e;hpb=debe1004676d5431e571d9c4361072661dcc88c4 diff --git a/Build b/Build index 1ed9db8..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,28 +10,38 @@ package "mspnet" }; }; - headers "msp/net" + library "mspnet" { source "source/net"; + source "source/http"; 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";