-
Notifications
You must be signed in to change notification settings - Fork 43
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
30 changed files
with
10 additions
and
239 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 |
---|---|---|
@@ -1,26 +1,14 @@ | ||
|
||
|
||
add_library(Bridge STATIC | ||
bridge.c | ||
|
||
) | ||
|
||
|
||
#ww api | ||
target_include_directories(Bridge PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../ww) | ||
target_link_libraries(Bridge ww) | ||
|
||
|
||
# add dependencies | ||
include(${CMAKE_BINARY_DIR}/cmake/CPM.cmake) | ||
|
||
|
||
|
||
|
||
|
||
target_compile_definitions(Bridge PRIVATE Bridge_VERSION=0.1) | ||
|
||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
target_compile_definitions(Bridge PRIVATE DEBUG=1) | ||
|
||
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 |
---|---|---|
@@ -1,21 +1,14 @@ | ||
|
||
|
||
add_library(UdpConnector STATIC | ||
udp_connector.c | ||
|
||
) | ||
|
||
|
||
#ww api | ||
target_include_directories(UdpConnector PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../ww) | ||
target_link_libraries(UdpConnector ww) | ||
|
||
|
||
# add dependencies | ||
include(${CMAKE_BINARY_DIR}/cmake/CPM.cmake) | ||
|
||
|
||
target_compile_definitions(UdpConnector PRIVATE UdpConnector_VERSION=0.1) | ||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
target_compile_definitions(UdpConnector PRIVATE DEBUG=1) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,14 @@ | ||
|
||
|
||
add_library(TcpListener STATIC | ||
tcp_listener.c | ||
|
||
) | ||
|
||
|
||
#ww api | ||
target_include_directories(TcpListener PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../ww) | ||
target_link_libraries(TcpListener ww) | ||
|
||
|
||
# add dependencies | ||
include(${CMAKE_BINARY_DIR}/cmake/CPM.cmake) | ||
|
||
|
||
|
||
|
||
|
||
target_compile_definitions(TcpListener PRIVATE TcpListener_VERSION=0.1) | ||
|
||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
target_compile_definitions(TcpListener PRIVATE DEBUG=1) | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,15 @@ | ||
|
||
add_library(HeaderClient STATIC | ||
header_client.c | ||
|
||
) | ||
|
||
|
||
|
||
#ww api | ||
target_include_directories(HeaderClient PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../ww) | ||
target_link_libraries(HeaderClient PUBLIC ww) | ||
|
||
|
||
|
||
# add dependencies | ||
include(${CMAKE_BINARY_DIR}/cmake/CPM.cmake) | ||
|
||
|
||
target_compile_definitions(HeaderClient PRIVATE HeaderClient_VERSION=0.1) | ||
|
||
|
||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
target_compile_definitions(HeaderClient PRIVATE DEBUG=1) | ||
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
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,23 +1,16 @@ | ||
|
||
add_library(WireGuard STATIC | ||
wireguard_client.c | ||
|
||
) | ||
|
||
|
||
|
||
#ww api | ||
target_include_directories(WireGuard PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../ww) | ||
target_link_libraries(WireGuard PUBLIC ww) | ||
|
||
|
||
|
||
# add dependencies | ||
include(${CMAKE_BINARY_DIR}/cmake/CPM.cmake) | ||
|
||
|
||
target_compile_definitions(WireGuard PRIVATE WireGuard_VERSION=0.1) | ||
|
||
|
||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
target_compile_definitions(WireGuard PRIVATE DEBUG=1) | ||
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
Oops, something went wrong.