blob: 1c17e96445a8aacc7f33a0c92b74531368adf570 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_executable(filedistribution_filedbmodelimpl_test_app TEST
SOURCES
test-filedistributionmodelimpl.cpp
DEPENDS
filedistribution_filedistributionmodel
filedistribution_common
filedistribution_mocks
)
target_compile_options(filedistribution_filedbmodelimpl_test_app PRIVATE -DTORRENT_DISABLE_ENCRYPTION -DTORRENT_DISABLE_DHT -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED)
vespa_add_target_system_dependency(filedistribution_filedbmodelimpl_test_app boost boost_system${BOOST_LIB_SUFFIX})
vespa_add_target_system_dependency(filedistribution_filedbmodelimpl_test_app boost boost_thread${BOOST_LIB_SUFFIX})
vespa_add_target_system_dependency(filedistribution_filedbmodelimpl_test_app boost boost_program_options${BOOST_LIB_SUFFIX})
vespa_add_target_system_dependency(filedistribution_filedbmodelimpl_test_app boost boost_filesystem${BOOST_LIB_SUFFIX})
vespa_add_target_system_dependency(filedistribution_filedbmodelimpl_test_app boost boost_unit_test_framework${BOOST_LIB_SUFFIX})
vespa_add_test(NAME filedistribution_filedbmodelimpl_test_app NO_VALGRIND COMMAND filedistribution_filedbmodelimpl_test_app)
|