aboutsummaryrefslogtreecommitdiff
path: root/externals/discord-rpc/examples/send-presence/CMakeLists.txt
blob: 8a67d472ee6ef57410447f4fee8d7bb4568f5f04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
)