mirror of
https://github.com/amnezia-vpn/OpenVPNAdapter.git
synced 2026-05-24 20:07:06 +03:00
22 lines
519 B
CMake
22 lines
519 B
CMake
# 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 ()
|
|
|