X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=47032c49d60cceabb380eb2fd5e8dd4d467a72c4;hb=c9d1cbb9325637c1dea59969d15c5e1fac395df4;hp=f60241744f89cf60190d58a5e5dabb1096d7b101;hpb=070d56e7b0036ca2e4234eb06dcae83ebfb3df34;p=libs%2Fnet.git diff --git a/Build b/Build index f602417..47032c4 100644 --- a/Build +++ b/Build @@ -1,15 +1,48 @@ -package "msphttp" +package "mspnet" { - description "HTTP client and server library"; - version "0.1"; + require "mspcore"; + if "arch=win32" + { + build_info + { + library "ws2_32"; + }; + }; - require "mspnet"; - require "mspstrings"; + headers "msp/net" + { + source "source/net"; + install true; + }; - library "msphttp" + headers "msp/http" { - source "source"; + source "source/http"; install true; - install_headers "msp/http"; + }; + + library "mspnet" + { + source "source/net"; + source "source/http"; + install true; + }; + + program "netcat" + { + source "examples/netcat.cpp"; + build_info + { + library "mspnet"; + }; + }; + + program "httpget" + { + source "examples/httpget.cpp"; + build_info + { + library "mspnet"; + }; }; };