From 1a83c2872c9514c8dae3516ab990c79af120842c Mon Sep 17 00:00:00 2001 From: Chris Marsh Date: Thu, 29 Jun 2017 09:17:10 -0700 Subject: [PATCH] Trying out cmake --- CMakeLists.txt | 4 ++++ src/CMakeLists.txt | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 src/CMakeLists.txt 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)