aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/discord-game-sdk/usage
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/discord-game-sdk/usage
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/discord-game-sdk/usage')
-rw-r--r--vcpkg/ports/discord-game-sdk/usage12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/discord-game-sdk/usage b/vcpkg/ports/discord-game-sdk/usage
new file mode 100644
index 0000000..11faa0c
--- /dev/null
+++ b/vcpkg/ports/discord-game-sdk/usage
@@ -0,0 +1,12 @@
+The package discord-game-sdk does not provides CMake integration:
+
+ find_library(GAME_SDK discord_game_sdk)
+ target_link_libraries(<my_target> PRIVATE ${GAME_SDK})
+
+ find_path(GAME_SDK_INCLUDE discord-game-sdk/discord.h)
+ target_include_directories(<my_target> PRIVATE ${GAME_SDK_INCLUDE})
+
+The C++ SDK source code is compiled in a static library:
+
+ find_library(CPP_GAME_SDK discord_game_sdk_cpp)
+ target_link_libraries(<my_target> PRIVATE ${CPP_GAME_SDK})