CMake: add example_chat target to build

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
This commit is contained in:
Steven Noonan
2019-01-15 13:21:50 -08:00
parent 9e279cf10e
commit a419a955ea
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -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)
+4
View File
@@ -0,0 +1,4 @@
add_executable(
example_chat
example_chat.cpp)
target_link_libraries(example_chat GameNetworkingSockets)