Debian Codegraph @

docpages/install/install-xmake.md

raw symbols SCIP
1 \page install-xmake Installing from XMake
2
3 To install D++ on a project from XMake:
4
5 - Ensure XMake [is correctly installed](https://xmake.io/#/guide/installation)
6 - Create a new XMake project if you haven't already one, using `xmake create <project_name>`
7 - Update the `xmake.lua` file by adding the `dpp` package, below the minimum configuration:
8
9 ~~~~~~~~~~~lua
10 add_rules("mode.debug", "mode.release")
11
12 add_requires("dpp")
13
14 target("test-bot")
15 set_kind("binary")
16 add_files("src/*.cpp")
17
18 add_packages("dpp")
19 ~~~~~~~~~~~
20
21 - Finally, run `xmake build` to download dependencies and build the project