1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +01:00
SqMod/vendor/DPP/docpages/install/install-xmake.md
Sandu Liviu Catalin cbd8f8b028 Add D++ library.
2023-03-23 20:20:44 +02:00

611 B

\page install-xmake Installing from xmake

To install D++ on a project from XMake:

  • Ensure XMake is correctly installed
  • 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:
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