2017-07-20 23:59:15 +01:00
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/include)
|
2017-09-14 16:59:32 +01:00
|
|
|
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"
|
|
|
|
)
|
2017-07-20 23:59:15 +01:00
|
|
|
target_link_libraries(send-presence discord-rpc)
|
2017-09-07 17:05:41 +01:00
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS send-presence
|
|
|
|
RUNTIME
|
|
|
|
DESTINATION "bin"
|
|
|
|
CONFIGURATIONS Release
|
2017-09-14 16:59:32 +01:00
|
|
|
BUNDLE
|
|
|
|
DESTINATION "bin"
|
|
|
|
CONFIGURATIONS Release
|
2017-09-07 17:05:41 +01:00
|
|
|
)
|