move test main into test library to avoid redundant recompiling and hopefully speed up the testing a bit
This commit is contained in:
parent
ed46450f06
commit
8cf9357aa8
|
@ -15,8 +15,9 @@ install:
|
|||
- echo -n ":" >>~/user-config.jam
|
||||
- echo " 2.7 ;" >>~/user-config.jam
|
||||
- ccache --show-stats
|
||||
- which $CC
|
||||
- ls -la `which $CC`
|
||||
- ccache -V
|
||||
- which $CXX
|
||||
- ls -la `which $CXX`
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
|
|
@ -50,6 +50,7 @@ rule link_libtorrent ( properties * )
|
|||
|
||||
lib libtorrent_test
|
||||
: # sources
|
||||
main.cpp
|
||||
test.cpp
|
||||
setup_transfer.cpp
|
||||
dht_server.cpp
|
||||
|
@ -83,7 +84,6 @@ lib advapi32 : : <name>Advapi32 ;
|
|||
|
||||
project
|
||||
: requirements
|
||||
<source>main.cpp
|
||||
<conditional>@link_test
|
||||
<conditional>@link_libtorrent
|
||||
: default-build
|
||||
|
|
Loading…
Reference in New Issue