vcpkg/ports/ntf-core/usage

10 lines
369 B
Plaintext
Raw Normal View History

2023-09-01 04:53:07 +08:00
The package ntf-core provides the CMake targets:
# Blocking and non-blocking sockets for network programming
find_package(nts CONFIG REQUIRED)
2023-09-01 04:53:07 +08:00
target_link_libraries(main PRIVATE nts)
# Asynchronous sockets, timers, event loops, and thread pools for network programming
find_package(ntc CONFIG REQUIRED)
2023-09-01 04:53:07 +08:00
target_link_libraries(main PRIVATE ntc)