Skip to content

Commit b2f0671

Browse files
committed
POC client service impl
1 parent d6ee83f commit b2f0671

File tree

3 files changed

+958
-0
lines changed

3 files changed

+958
-0
lines changed

CMakeLists.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,29 @@ endif()
265265

266266
###################################################################################################
267267

268+
###################################################################################################
269+
# Service binary.
270+
271+
add_executable(nat20_service_bin)
272+
target_sources(nat20_service_bin
273+
PRIVATE src/service/gnostic_main.c
274+
)
275+
target_link_libraries(nat20_service_bin nat20_service nat20_crypto_nat20 nat20_crypto_boringssl)
276+
277+
###################################################################################################
278+
279+
###################################################################################################
280+
# Client binary.
281+
282+
add_executable(n20_client_stateless_bin)
283+
target_sources(n20_client_stateless_bin
284+
PRIVATE src/service/client_stateless.c
285+
)
286+
target_link_libraries(n20_client_stateless_bin nat20_service nat20_crypto_nat20 nat20_crypto_boringssl)
287+
288+
###################################################################################################
289+
290+
268291
###################################################################################################
269292
# The libnat20 test suite. It, along with its additional dependencies is only compiled
270293
# when selected by setting `-DNAT20_WITH_TESTS=ON` on the `cmake -B` command line.

0 commit comments

Comments
 (0)