mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
CMake: add example_chat target to build
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
This commit is contained in:
@@ -11,5 +11,6 @@ print_default_msvc_flags()
|
||||
option(Protobuf_USE_STATIC_LIBS "Build with a static Protobuf library" OFF)
|
||||
option(USE_LIBSODIUM "Use libsodium for ed25519/curve25519" ON)
|
||||
|
||||
add_subdirectory(examples)
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(tests)
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
add_executable(
|
||||
example_chat
|
||||
example_chat.cpp)
|
||||
target_link_libraries(example_chat GameNetworkingSockets)
|
||||
Reference in New Issue
Block a user