summaryrefslogtreecommitdiff
path: root/core/CMakeLists.txt
blob: 44ae980cab56d0bdc6b7e6f29216aabcb6a63a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cmake_minimum_required(VERSION 2.6.0)
project(core C)

if(WIN32)
	include_directories(${CMAKE_HOME_DIRECTORY}/sodium/include/)
else(WIN32)
	include_directories(${SODIUM_INCLUDE_DIR})
endif()

set(core_sources
	DHT.c
	network.c
	Lossless_UDP.c
	net_crypto.c
	friend_requests.c
	LAN_discovery.c
	Messenger.c)

add_library(core ${core_sources})