aboutsummaryrefslogtreecommitdiff
path: root/externals/discord-rpc/examples/send-presence/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'externals/discord-rpc/examples/send-presence/CMakeLists.txt')
-rw-r--r--externals/discord-rpc/examples/send-presence/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/externals/discord-rpc/examples/send-presence/CMakeLists.txt b/externals/discord-rpc/examples/send-presence/CMakeLists.txt
new file mode 100644
index 0000000000..8a67d472ee
--- /dev/null
+++ b/externals/discord-rpc/examples/send-presence/CMakeLists.txt
@@ -0,0 +1,21 @@
+include_directories(${PROJECT_SOURCE_DIR}/include)
+add_executable(
+ send-presence
+ MACOSX_BUNDLE
+ send-presence.c
+)
+set_target_properties(send-presence PROPERTIES
+ MACOSX_BUNDLE_BUNDLE_NAME "Send Presence"
+ MACOSX_BUNDLE_GUI_IDENTIFIER "com.discordapp.examples.send-presence"
+)
+target_link_libraries(send-presence discord-rpc)
+
+install(
+ TARGETS send-presence
+ RUNTIME
+ DESTINATION "bin"
+ CONFIGURATIONS Release
+ BUNDLE
+ DESTINATION "bin"
+ CONFIGURATIONS Release
+) \ No newline at end of file