Move the definition of PacketTypeDef<T>::class_id to a separate header
[libs/net.git] / Build
1 package "mspnet"
2 {
3         require "sigc++-2.0";
4         require "mspcore";
5         if_arch "windows"
6         {
7                 build_info
8                 {
9                         library "ws2_32";
10                 };
11         };
12
13         library "mspnet"
14         {
15                 source "source/net";
16                 source "source/http";
17                 if_arch "windows"
18                 {
19                         overlay "windows";
20                 };
21                 if_arch "!windows"
22                 {
23                         overlay "unix";
24                 };
25                 install true;
26                 install_map
27                 {
28                         map "source" "include/msp";
29                 };
30         };
31
32         program "netcat"
33         {
34                 source "examples/netcat.cpp";
35                 build_info
36                 {
37                         library "mspnet";
38                 };
39         };
40
41         program "httpget"
42         {
43                 source "examples/httpget.cpp";
44                 build_info
45                 {
46                         library "mspnet";
47                 };
48         };
49
50         program "minihttpd"
51         {
52                 source "examples/minihttpd.cpp";
53                 build_info
54                 {
55                         library "mspnet";
56                 };
57         };
58 };