]> 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 899274bc948e1c1a7e0c53367c5d7982fc610068..01d3a842699b8f7ac2c705c7c9440b9981eb6df6 100644 (file)
--- a/Build
+++ b/Build
@@ -11,13 +11,20 @@ package "mspnet"
 
        headers "msp/net"
        {
-               source "source";
+               source "source/net";
+               install true;
+       };
+
+       headers "msp/http"
+       {
+               source "source/http";
                install true;
        };
 
        library "mspnet"
        {
-               source "source";
+               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";
+               };
+       };
 };