aboutsummaryrefslogtreecommitdiff
path: root/network-handler/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'network-handler/CMakeLists.txt')
-rw-r--r--network-handler/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/network-handler/CMakeLists.txt b/network-handler/CMakeLists.txt
new file mode 100644
index 0000000..9f3366c
--- /dev/null
+++ b/network-handler/CMakeLists.txt
@@ -0,0 +1,17 @@
+
+find_package(Boost COMPONENTS system program_options REQUIRED)
+
+add_executable(network-handler
+ main.cpp
+ networkhandler.hpp networkhandler.cpp
+)
+
+target_compile_options(network-handler
+ PRIVATE "-std=c++11"
+)
+
+target_link_libraries(network-handler
+ PRIVATE Boost::boost
+ PRIVATE Boost::program_options
+ PRIVATE Boost::system
+) \ No newline at end of file