2013-07-22 08:43:05 +08:00
|
|
|
cmake_minimum_required(VERSION 2.6.0)
|
|
|
|
|
|
|
|
cmake_policy(SET CMP0011 NEW)
|
|
|
|
|
2013-07-22 09:00:51 +08:00
|
|
|
#include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_cryptosendfiletest.cmake)
|
|
|
|
#include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_sendfiletest.cmake)
|
2013-07-18 06:06:05 +08:00
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_test.cmake)
|
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Lossless_UDP_testclient.cmake)
|
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Lossless_UDP_testserver.cmake)
|
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Messenger_test.cmake)
|
2013-08-05 09:20:48 +08:00
|
|
|
|
2013-07-30 06:00:56 +08:00
|
|
|
if(WIN32)
|
2013-07-30 23:55:46 +08:00
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/nTox_win32.cmake)
|
2013-08-05 09:20:48 +08:00
|
|
|
else()
|
2013-07-30 23:55:46 +08:00
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/nTox.cmake)
|
|
|
|
add_subdirectory(toxic)
|
2013-07-22 09:00:51 +08:00
|
|
|
endif()
|