toxcore/core/CMakeLists.txt

20 lines
342 B
CMake
Raw Normal View History

2013-07-21 20:41:08 -04:00
cmake_minimum_required(VERSION 2.6.0)
project(core C)
if(WIN32)
include_directories(${CMAKE_HOME_DIRECTORY}/sodium/include/)
2013-07-30 22:41:51 +04:00
else(WIN32)
include_directories(${SODIUM_INCLUDE_DIR})
2013-07-21 20:41:08 -04:00
endif()
set(core_sources
2013-07-29 20:45:53 -04:00
DHT.c
network.c
Lossless_UDP.c
net_crypto.c
friend_requests.c
LAN_discovery.c
Messenger.c)
2013-07-21 20:41:08 -04:00
add_library(core ${core_sources})