discord

Whether you’re part of a school club, gaming group, worldwide art community, or just a handful of friends that want to spend time together, Discord makes it easy to talk every day and hang out more often.

Latest version: 3.2.1

Add to xmake.lua

add_requires("discord 3.2.1")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2024-07-01T14:18:48.000Z

Platforms

  • linux: x86_64
  • macosx: x86_64, arm64
  • windows: x86, x64

Options

cppapi
Enable C++ API. · Type: boolean · Default: true
shared
Use shared binaries. · Type: boolean · Default: false

Versions

  • 2.5.6
  • 3.2.1

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "discord 3.2.1"

show info

xrepo info "discord"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("discord 3.2.1")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("discord")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "discord 3.2.1" shell