aboutsummaryrefslogtreecommitdiffstats
path: root/filedistribution/src/apps/filedistributor/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'filedistribution/src/apps/filedistributor/CMakeLists.txt')
-rw-r--r--filedistribution/src/apps/filedistributor/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/filedistribution/src/apps/filedistributor/CMakeLists.txt b/filedistribution/src/apps/filedistributor/CMakeLists.txt
new file mode 100644
index 00000000000..f7be9d46c76
--- /dev/null
+++ b/filedistribution/src/apps/filedistributor/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+vespa_add_executable(filedistribution_filedistributor_app
+ SOURCES
+ filedistributor.cpp
+ OUTPUT_NAME filedistributor-bin
+ INSTALL sbin
+ DEPENDS
+ filedistribution_distributor
+ filedistribution_filedistributionmodel
+ filedistribution_filedistributorrpcconfig
+ filedistribution_filedistributorrpc
+ filedistribution_common
+)
+target_compile_options(filedistribution_filedistributor_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_filedistributor_app boost boost_system-mt-d)
+vespa_add_target_system_dependency(filedistribution_filedistributor_app boost boost_thread-mt-d)
+vespa_add_target_system_dependency(filedistribution_filedistributor_app boost boost_program_options-mt-d)
+vespa_add_target_system_dependency(filedistribution_filedistributor_app boost boost_filesystem-mt-d)
+vespa_add_target_system_dependency(filedistribution_filedistributor_app boost boost_unit_test_framework-mt-d)