From 20c7244357a586590585ecd40b5721dc5e904b32 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Mon, 24 Jun 2013 20:55:30 -0400 Subject: [PATCH] Added a simple cmake list --- CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..26f56e4c --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 2.6.0) +project(TOX) + +set(core_sources + core/DHT.c) + +set(test_sources + testing/DHT_test.c) + +add_executable(TOX-app + ${core_sources} + ${test_sources}) + + +if(WIN32) + target_link_libraries(TOX-app ws2_32) +endif(WIN32) \ No newline at end of file