move test main into test library to avoid redundant recompiling and hopefully speed up the testing a bit

This commit is contained in:
arvidn 2015-06-20 11:08:26 -04:00
parent ed46450f06
commit 8cf9357aa8
2 changed files with 4 additions and 3 deletions

View File

@ -15,8 +15,9 @@ install:
- echo -n ":" >>~/user-config.jam - echo -n ":" >>~/user-config.jam
- echo " 2.7 ;" >>~/user-config.jam - echo " 2.7 ;" >>~/user-config.jam
- ccache --show-stats - ccache --show-stats
- which $CC - ccache -V
- ls -la `which $CC` - which $CXX
- ls -la `which $CXX`
cache: cache:
directories: directories:

View File

@ -50,6 +50,7 @@ rule link_libtorrent ( properties * )
lib libtorrent_test lib libtorrent_test
: # sources : # sources
main.cpp
test.cpp test.cpp
setup_transfer.cpp setup_transfer.cpp
dht_server.cpp dht_server.cpp
@ -83,7 +84,6 @@ lib advapi32 : : <name>Advapi32 ;
project project
: requirements : requirements
<source>main.cpp
<conditional>@link_test <conditional>@link_test
<conditional>@link_libtorrent <conditional>@link_libtorrent
: default-build : default-build