forked from premiere/premiere-libtorrent
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 -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue