diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f85b545 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,4 @@ +cmake_minimum_required (VERSION 3.7.0) +project (DiscordRPCExample) + +add_subdirectory(src) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..3de2d5e --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(discord-rpc discord-rpc.cpp) +add_executable(test-client simple.cpp) +target_link_libraries(test-client discord-rpc)