X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=01d3a842699b8f7ac2c705c7c9440b9981eb6df6;hb=de95d7d024ebf9d18721579f52b98311c853ea67;hp=f60241744f89cf60190d58a5e5dabb1096d7b101;hpb=070d56e7b0036ca2e4234eb06dcae83ebfb3df34;p=libs%2Fnet.git diff --git a/Build b/Build index f602417..01d3a84 100644 --- a/Build +++ b/Build @@ -1,15 +1,57 @@ -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; + }; + + headers "msp/http" + { + source "source/http"; + install true; + }; - library "msphttp" + library "mspnet" { - source "source"; + source "source/net"; + source "source/http"; install true; - install_headers "msp/http"; + }; + + program "netcat" + { + source "examples/netcat.cpp"; + build_info + { + library "mspnet"; + }; + }; + + program "httpget" + { + source "examples/httpget.cpp"; + build_info + { + library "mspnet"; + }; + }; + + program "minihttpd" + { + source "examples/minihttpd.cpp"; + build_info + { + library "mspnet"; + }; }; };