toxcore/core/CMakeLists.txt

20 lines
342 B
CMake
Raw Normal View History

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