Debian Codegraph @

docpages/install/install-vcpkg.md

raw symbols SCIP
1 \page install-vcpkg Installing from VCPKG (Windows)
2
3 \warning **We do not support VCPKG for any platform that isn't Windows. This does not mean VCPKG doesn't work, it just means we do not test it.** If you are using other platforms then please look towards our other pages. We also advise that you use the [pre-made Visual Studio template](https://github.com/brainboxdotcc/windows-bot-template/) on Windows, as VCPKG takes longer to receive updates.
4
5 To install D++ on a system with VCPKG:
6
7 - Ensure VCPKG is correctly installed, and run `vcpkg integrate install` to integrate it with your preferred IDE. This has been reported to work with Visual Studio, VSCode, and JetBrains CLion.
8 - From a command line, type `vcpkg install dpp:x64-windows`
9
10 \image html vcpkg.png
11
12 - VCPKG will install the library, and dependencies, for you! Once completed, you will receive a message, indicating that dpp successfully installed!
13 - Use `vcpkg list dpp` to check that the package is installed, as so:
14
15 ```cmd
16 c:\vcpkg>vcpkg list dpp
17 dpp:x64-windows 10.0.29 D++ Extremely Lightweight C++ Discord Library.
18 ```
19
20 - You may now use the library within a `CMake` based project by adding the following instructions to your `CMakeLists.txt`:
21
22 ```cmake
23 find_package(dpp CONFIG REQUIRED)
24 target_link_libraries(${PROJECT_NAME} PRIVATE dpp::dpp)
25 ```