diff options
author | Jon Bratseth <[email protected]> | 2016-06-15 23:09:44 +0200 |
---|---|---|
committer | Jon Bratseth <[email protected]> | 2016-06-15 23:09:44 +0200 |
commit | 72231250ed81e10d66bfe70701e64fa5fe50f712 (patch) | |
tree | 2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /filedistribution/src/tests/filedownloader/CMakeLists.txt |
Publish
Diffstat (limited to 'filedistribution/src/tests/filedownloader/CMakeLists.txt')
-rw-r--r-- | filedistribution/src/tests/filedownloader/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/filedistribution/src/tests/filedownloader/CMakeLists.txt b/filedistribution/src/tests/filedownloader/CMakeLists.txt new file mode 100644 index 00000000000..6be9b28651d --- /dev/null +++ b/filedistribution/src/tests/filedownloader/CMakeLists.txt @@ -0,0 +1,15 @@ +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +vespa_add_executable(filedistribution_filedownloader_test_app + SOURCES + testfiledownloader.cpp + DEPENDS + filedistribution_filedistributionmodel + filedistribution_common +) +target_compile_options(filedistribution_filedownloader_test_app PRIVATE -DTORRENT_DEBUG -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_filedownloader_test_app boost boost_system-mt-d) +vespa_add_target_system_dependency(filedistribution_filedownloader_test_app boost boost_thread-mt-d) +vespa_add_target_system_dependency(filedistribution_filedownloader_test_app boost boost_program_options-mt-d) +vespa_add_target_system_dependency(filedistribution_filedownloader_test_app boost boost_filesystem-mt-d) +vespa_add_target_system_dependency(filedistribution_filedownloader_test_app boost boost_unit_test_framework-mt-d) +vespa_add_test(NAME filedistribution_filedownloader_test_app NO_VALGRIND COMMAND filedistribution_filedownloader_test_app) |