Newer
Older
XinYang_IOS / Carthage / Checkouts / OpenVPNAdapter / Sources / OpenVPN3 / CMakeLists.txt
@zhangfeng zhangfeng on 7 Dec 519 bytes 1.8.0
# Cmake in OpenVPN3 core is mainly used to get Clion editior support and to run unit tests. For normal
# Build instructions see the README.rst

cmake_policy(SET CMP0048 NEW)
project(OpenVPN3-core VERSION 3)

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake;${CMAKE_MODULE_PATH}")


cmake_minimum_required(VERSION 3.5)

add_subdirectory(test/unittests)
add_subdirectory(test/ovpncli)
add_subdirectory(test/ssl)


if (WIN32)
    add_subdirectory(openvpn/omi)
    add_subdirectory(openvpn/ovpnagent/win)
endif ()