]> git.tdb.fi Git - libs/net.git/blobdiff - Build
Add an example of Http::Server usage
[libs/net.git] / Build
diff --git a/Build b/Build
index 444fc30f53dae783b69e73a29d5c8234d93696b8..01d3a842699b8f7ac2c705c7c9440b9981eb6df6 100644 (file)
--- a/Build
+++ b/Build
@@ -15,9 +15,16 @@ package "mspnet"
                install true;
        };
 
+       headers "msp/http"
+       {
+               source "source/http";
+               install true;
+       };
+
        library "mspnet"
        {
                source "source/net";
+               source "source/http";
                install true;
        };
 
@@ -29,4 +36,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";
+               };
+       };
 };