Fix Jamfiles for MinGW.

This commit is contained in:
chris_kohlhoff 2005-12-09 10:24:26 +00:00
parent cfa467ccef
commit 83804be344
12 changed files with 509 additions and 48 deletions

View File

@ -9,6 +9,8 @@ exe chat_client
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;
exe chat_server exe chat_server
@ -18,4 +20,6 @@ exe chat_server
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;

View File

@ -8,6 +8,8 @@ template asio_echo_example
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;
exe async_tcp_echo_server exe async_tcp_echo_server

View File

@ -17,4 +17,6 @@ exe http_server
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../../.. <include>../../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;

View File

@ -8,4 +8,6 @@ exe daytime_client
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;

View File

@ -8,6 +8,8 @@ exe receiver
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;
exe sender exe sender
@ -16,4 +18,6 @@ exe sender
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;

View File

@ -9,6 +9,8 @@ exe client
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;
exe server exe server
@ -18,4 +20,6 @@ exe server
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;

View File

@ -9,4 +9,6 @@ exe daytime_client
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;

View File

@ -8,6 +8,8 @@ exe client
<threading>multi <threading>multi
<find-library>ssl <find-library>ssl
<find-library>crypto <find-library>crypto
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;
exe server exe server
@ -18,4 +20,6 @@ exe server
<threading>multi <threading>multi
<find-library>ssl <find-library>ssl
<find-library>crypto <find-library>crypto
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;

View File

@ -8,6 +8,8 @@ template asio_timeouts_example
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;
exe accept_timeout exe accept_timeout

View File

@ -8,6 +8,8 @@ template asio_tutorial
: <include>$(BOOST_ROOT) : <include>$(BOOST_ROOT)
<include>../../../.. <include>../../../..
<threading>multi <threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
; ;
exe timer1 : <template>asio_tutorial timer1/timer.cpp ; exe timer1 : <template>asio_tutorial timer1/timer.cpp ;

View File

@ -5,44 +5,415 @@ import testing ;
project boost : $(BOOST_ROOT) ; project boost : $(BOOST_ROOT) ;
run basic_datagram_socket_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; run basic_datagram_socket_test.cpp
run basic_deadline_timer_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <lib>@boost/libs/date_time/build/boost_date_time
run basic_demuxer_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; :
run basic_locking_dispatcher_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; :
run basic_socket_acceptor_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; : <include>../../..
run basic_stream_socket_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <threading>multi
run buffer_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <mingw><*><find-library>ws2_32
run buffered_read_stream_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <mingw><*><find-library>mswsock
run buffered_stream_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; ;
run buffered_write_stream_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ;
run completion_condition_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; run basic_deadline_timer_test.cpp
run datagram_socket_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <lib>@boost/libs/date_time/build/boost_date_time
run datagram_socket_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; :
run deadline_timer_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; :
run deadline_timer_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; : <include>../../..
run demuxer_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <threading>multi
run demuxer_test.cpp <lib>@boost/libs/date_time/build/boost_date_time <lib>@boost/libs/thread/build/boost_thread : : : <include>../../.. ; <mingw><*><find-library>ws2_32
run error_handler_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <mingw><*><find-library>mswsock
run error_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; ;
run ipv4/address_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ;
run ipv4/basic_host_resolver_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; run basic_demuxer_test.cpp
run ipv4/host_resolver_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <lib>@boost/libs/date_time/build/boost_date_time
run ipv4/host_resolver_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; :
run ipv4/host_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; :
run ipv4/multicast_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; : <include>../../..
run ipv4/tcp_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <threading>multi
run ipv4/udp_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <mingw><*><find-library>ws2_32
run is_read_buffered_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <mingw><*><find-library>mswsock
run is_write_buffered_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; ;
run locking_dispatcher_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ;
run locking_dispatcher_test.cpp <lib>@boost/libs/date_time/build/boost_date_time <lib>@boost/libs/thread/build/boost_thread : : : <include>../../.. ; run basic_locking_dispatcher_test.cpp
run placeholders_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <lib>@boost/libs/date_time/build/boost_date_time
run read_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; :
run service_factory_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; :
run socket_acceptor_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; : <include>../../..
run socket_acceptor_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <threading>multi
run socket_base_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <mingw><*><find-library>ws2_32
run stream_socket_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; <mingw><*><find-library>mswsock
run stream_socket_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; ;
run time_traits_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ;
run write_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../.. ; run basic_socket_acceptor_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run basic_stream_socket_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run buffer_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run buffered_read_stream_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run buffered_stream_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run buffered_write_stream_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run completion_condition_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run datagram_socket_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run datagram_socket_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run deadline_timer_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run deadline_timer_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run demuxer_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run demuxer_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
<lib>@boost/libs/thread/build/boost_thread
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run error_handler_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run error_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run ipv4/address_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run ipv4/basic_host_resolver_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run ipv4/host_resolver_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run ipv4/host_resolver_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run ipv4/host_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run ipv4/multicast_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run ipv4/tcp_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run ipv4/udp_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run is_read_buffered_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run is_write_buffered_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run locking_dispatcher_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run locking_dispatcher_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
<lib>@boost/libs/thread/build/boost_thread
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run placeholders_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run read_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run service_factory_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run socket_acceptor_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run socket_acceptor_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run socket_base_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run stream_socket_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run stream_socket_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run time_traits_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run write_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;

View File

@ -5,10 +5,72 @@ import testing ;
project boost : $(BOOST_ROOT) ; project boost : $(BOOST_ROOT) ;
run basic_context_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../../.. ; run basic_context_test.cpp
run context_base_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../../.. ; <lib>@boost/libs/date_time/build/boost_date_time
run context_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../../.. ; :
run context_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../../.. ; :
run stream_base_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../../.. ; : <include>../../../..
run stream_service_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../../.. ; <threading>multi
run stream_test.cpp <lib>@boost/libs/date_time/build/boost_date_time : : : <include>../../../.. ; <mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run context_base_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run context_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run context_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run stream_base_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run stream_service_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;
run stream_test.cpp
<lib>@boost/libs/date_time/build/boost_date_time
:
:
: <include>../../../..
<threading>multi
<mingw><*><find-library>ws2_32
<mingw><*><find-library>mswsock
;