forked from OpenVPN/openvpn3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win: replace msvc project files with cmake
Signed-off-by: Lev Stipakov <lev@openvpn.net>
- Loading branch information
Showing
14 changed files
with
62 additions
and
1,511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ README.html | |
x64 | ||
*.vcxproj.user | ||
*.ipch | ||
out | ||
.vs | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
# 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 | ||
|
||
project(OpenVPN3-core) | ||
cmake_policy(SET CMP0048 NEW) | ||
project(OpenVPN3-core VERSION 3) | ||
|
||
cmake_minimum_required(VERSION 3.5) | ||
|
||
add_subdirectory(test/unittests) | ||
add_subdirectory(test/ovpncli) | ||
add_subdirectory(test/ssl) | ||
|
||
|
||
if (WIN32) | ||
add_subdirectory(openvpn/omi) | ||
endif () | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
|
||
project(omicli) | ||
set(CMAKE_CXX_STANDARD 14) | ||
|
||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../cmake;${CMAKE_MODULE_PATH}") | ||
include(findcoredeps) | ||
|
||
add_executable(omicliagent openvpn.cpp) | ||
add_core_dependencies(omicliagent) | ||
add_json_library(omicliagent) | ||
target_compile_definitions(omicliagent PRIVATE -DOPENVPN_COMMAND_AGENT) | ||
|
||
add_executable(omicli openvpn.cpp) | ||
add_core_dependencies(omicli) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.