vcpkg/ports/ntf-core/usage

10 lines
355 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 REQUIRED)
target_link_libraries(main PRIVATE nts)
# Asynchronous sockets, timers, event loops, and thread pools for network programming
find_package(ntc REQUIRED)
target_link_libraries(main PRIVATE ntc)