Added a simple cmake list

This commit is contained in:
Maxim Biro 2013-06-24 20:55:30 -04:00
parent 8bc40b7f13
commit 20c7244357

17
CMakeLists.txt Normal file
View File

@ -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)