From d8e48c32f8435076382543edfafbf81c223f9e87 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 10 Oct 2016 15:52:14 +0200 Subject: Added a Client so we can start finishing up the setup phase of cMix. --- client/CMakeLists.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 client/CMakeLists.txt (limited to 'client/CMakeLists.txt') diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt new file mode 100644 index 0000000..e04bf6a --- /dev/null +++ b/client/CMakeLists.txt @@ -0,0 +1,29 @@ +find_package(Boost COMPONENTS system program_options REQUIRED) + +add_executable(client + main.cpp + cmixclient.hpp cmixclient.cpp + node.hpp node.cpp +) + +if(WIN32) + target_compile_options(client + PRIVATE "-std=gnu++11" + ) +else(WIN32) + target_compile_options(client + PRIVATE "-std=c++11" + ) +endif(WIN32) + + +target_link_libraries(client + PRIVATE Boost::boost + PRIVATE Boost::program_options + PRIVATE Boost::system + PRIVATE log + PRIVATE cmix + PRIVATE cmix-bignum + PRIVATE cmix-network + PRIVATE cmix-protobuf +) -- cgit v1.2.3-70-g09d2