mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
20 lines
773 B
CMake
20 lines
773 B
CMake
cmake_minimum_required(VERSION 2.6.0)
|
|
|
|
cmake_policy(SET CMP0011 NEW)
|
|
|
|
#include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_cryptosendfiletest.cmake)
|
|
#include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_sendfiletest.cmake)
|
|
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)
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/crypto_speed_test.cmake)
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/timer_test.cmake)
|
|
|
|
if(WIN32)
|
|
# include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/nTox_win32.cmake)
|
|
else()
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/nTox.cmake)
|
|
add_subdirectory(toxic)
|
|
endif()
|