Trying out cmake

This commit is contained in:
Chris Marsh 2017-06-29 09:17:10 -07:00
parent 4b77b81b2d
commit 1a83c2872c
2 changed files with 7 additions and 0 deletions

4
CMakeLists.txt Normal file
View file

@ -0,0 +1,4 @@
cmake_minimum_required (VERSION 3.7.0)
project (DiscordRPCExample)
add_subdirectory(src)

3
src/CMakeLists.txt Normal file
View file

@ -0,0 +1,3 @@
add_library(discord-rpc discord-rpc.cpp)
add_executable(test-client simple.cpp)
target_link_libraries(test-client discord-rpc)