2020-04-08 14:02:43 +02:00
|
|
|
project Prove is
|
2020-11-09 19:30:32 +00:00
|
|
|
|
2020-08-04 12:22:44 +02:00
|
|
|
for Source_Dirs use (".", "src/**");
|
2020-11-09 19:30:32 +00:00
|
|
|
for Excluded_Source_Files use ("socket_interface_tcp_udp.ads",
|
|
|
|
|
"socket_interface_tcp_udp.adb",
|
|
|
|
|
"socket_interface_tcp.ads",
|
|
|
|
|
"socket_interface_tcp.adb");
|
|
|
|
|
|
2020-11-16 13:37:01 +00:00
|
|
|
-- Note: if you would like to build and prove the same configurations,
|
|
|
|
|
-- you have to use the same options in the config.def
|
|
|
|
|
-- using the "-gnateDOPTION=VALUE" to the compiler switches
|
|
|
|
|
|
2020-11-13 12:47:43 +00:00
|
|
|
Package Compiler is
|
|
|
|
|
for default_switches ("Ada") use
|
2020-11-19 10:16:12 +00:00
|
|
|
("-gnat2020", "-gnaty", "-gnatwa", "-gnatwaUK",
|
2020-11-16 13:22:57 +00:00
|
|
|
-- Number of sockets that can be opened simultaneously
|
|
|
|
|
"-gnateDSOCKET_MAX_COUNT=10",
|
|
|
|
|
-- Default buffer size for reception
|
|
|
|
|
"-gnateDTCP_DEFAULT_RX_BUFFER_SIZE=2860",
|
|
|
|
|
-- Default buffer size for transmission
|
|
|
|
|
"-gnateDTCP_DEFAULT_TX_BUFFER_SIZE=2860",
|
|
|
|
|
-- Default SYN queue size for listening sockets
|
|
|
|
|
"-gnateDTCP_DEFAULT_SYN_QUEUE_SIZE=4",
|
|
|
|
|
-- UDP support
|
2020-11-19 10:16:12 +00:00
|
|
|
"-gnateDUDP_SUPPORT=True",
|
2020-11-16 13:22:57 +00:00
|
|
|
-- TCP support
|
|
|
|
|
"-gnateDTCP_SUPPORT=True"
|
|
|
|
|
);
|
2020-11-13 12:47:43 +00:00
|
|
|
end Compiler;
|
|
|
|
|
|
2020-11-09 19:30:32 +00:00
|
|
|
|
2020-06-24 15:28:34 +02:00
|
|
|
end Prove;
|
2020-11-09 19:30:32 +00:00
|
|
|
|