Skip to content

Commit 20c7244

Browse files
committed
Added a simple cmake list
1 parent 8bc40b7 commit 20c7244

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CMakeLists.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
cmake_minimum_required(VERSION 2.6.0)
2+
project(TOX)
3+
4+
set(core_sources
5+
core/DHT.c)
6+
7+
set(test_sources
8+
testing/DHT_test.c)
9+
10+
add_executable(TOX-app
11+
${core_sources}
12+
${test_sources})
13+
14+
15+
if(WIN32)
16+
target_link_libraries(TOX-app ws2_32)
17+
endif(WIN32)

0 commit comments

Comments
 (0)