mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-15 05:17:11 +02:00
Add D++ library.
This commit is contained in:
21
vendor/DPP/docpages/install/install-xmake.md
vendored
Normal file
21
vendor/DPP/docpages/install/install-xmake.md
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
\page install-xmake Installing from xmake
|
||||
|
||||
To install D++ on a project from XMake:
|
||||
|
||||
- Ensure XMake [is correctly installed](https://xmake.io/#/guide/installation)
|
||||
- Create a new xmake project if you haven't already one, using `xmake init <project_name>`
|
||||
- Update the `xmake.lua` file by adding the `dpp` package, below the minimum configuration:
|
||||
|
||||
~~~~~~~~~~~{.cmake}
|
||||
add_rules("mode.debug", "mode.release")
|
||||
|
||||
add_requires("dpp")
|
||||
|
||||
target("test-bot")
|
||||
set_kind("binary")
|
||||
add_files("src/*.cpp")
|
||||
|
||||
add_packages("dpp")
|
||||
~~~~~~~~~~~
|
||||
|
||||
- Finally, run `xmake build` to download dependencies and build the project
|
Reference in New Issue
Block a user