diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a11cf4..afd81fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 0000000..0d98074 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,4 @@ +add_executable( + example_chat + example_chat.cpp) +target_link_libraries(example_chat GameNetworkingSockets)