-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
299 changed files
with
24,229 additions
and
23,839 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Use default line ending for Git (LF) | ||
* text=auto | ||
|
||
# Except in tools/vcpkg, as this dir contains patches that should retain their line endings. | ||
tools/vcpkg/**/* -text | ||
# Except in installer/windows/additional_files, as this dir contains *.inf files that should retain their line endings. | ||
installer/windows/additional_files/**/* -text |
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
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
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
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 |
---|---|---|
@@ -1,40 +1,40 @@ | ||
cmake_minimum_required(VERSION 3.23) | ||
|
||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
|
||
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64") | ||
set(WINDSCRIBE_BUILD_LIBS_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../build-libs-arm64) | ||
else() | ||
set(WINDSCRIBE_BUILD_LIBS_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../build-libs) | ||
endif() | ||
|
||
add_definitions(-DUNICODE -D_UNICODE) | ||
|
||
project(wireguard_service) | ||
|
||
find_package(spdlog CONFIG REQUIRED) | ||
|
||
|
||
set(SOURCES | ||
ServiceMain.cpp | ||
wireguard_service.rc | ||
../../../client/common/utils/servicecontrolmanager.cpp | ||
) | ||
|
||
add_compile_options("$<$<CONFIG:Release>:/Zi>") | ||
add_link_options("$<$<CONFIG:Release>:/DEBUG>" "$<$<CONFIG:Release>:/OPT:REF>" "$<$<CONFIG:Release>:/OPT:ICF>") | ||
|
||
add_executable(WireguardService ${SOURCES}) | ||
|
||
target_include_directories(WireguardService PRIVATE | ||
../../../client/common | ||
) | ||
|
||
target_link_libraries(WireguardService PRIVATE | ||
spdlog::spdlog | ||
) | ||
|
||
install(TARGETS WireguardService | ||
RUNTIME DESTINATION . | ||
) | ||
cmake_minimum_required(VERSION 3.23) | ||
|
||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
|
||
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64") | ||
set(WINDSCRIBE_BUILD_LIBS_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../build-libs-arm64) | ||
else() | ||
set(WINDSCRIBE_BUILD_LIBS_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../build-libs) | ||
endif() | ||
|
||
add_definitions(-DUNICODE -D_UNICODE) | ||
|
||
project(wireguard_service) | ||
|
||
find_package(spdlog CONFIG REQUIRED) | ||
|
||
|
||
set(SOURCES | ||
ServiceMain.cpp | ||
wireguard_service.rc | ||
../../../client/common/utils/servicecontrolmanager.cpp | ||
) | ||
|
||
add_compile_options("$<$<CONFIG:Release>:/Zi>") | ||
add_link_options("$<$<CONFIG:Release>:/DEBUG>" "$<$<CONFIG:Release>:/OPT:REF>" "$<$<CONFIG:Release>:/OPT:ICF>") | ||
|
||
add_executable(WireguardService ${SOURCES}) | ||
|
||
target_include_directories(WireguardService PRIVATE | ||
../../../client/common | ||
) | ||
|
||
target_link_libraries(WireguardService PRIVATE | ||
spdlog::spdlog | ||
) | ||
|
||
install(TARGETS WireguardService | ||
RUNTIME DESTINATION . | ||
) |
Oops, something went wrong.