-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'brainboxdotcc:dev' into dev
- Loading branch information
Showing
6 changed files
with
78 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ docs/doxygen_sqlite3.db | |
build | ||
buildtools/composer.phar | ||
src/build | ||
cmake-build-debug | ||
|
||
# tests | ||
test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
\page install-vcpkg Installing from VCPKG (Windows, Linux, OSX) | ||
\page install-vcpkg Installing from VCPKG (Windows) | ||
|
||
To install D++ on a system from VCPKG: | ||
\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. | ||
|
||
To install D++ on a system with VCPKG: | ||
|
||
- 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. | ||
- From a command line, type `vcpkg install dpp:x64-windows` | ||
|
||
- 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. | ||
- From a command line, type `vcpkg install dpp:x64-windows` (replace `x64-windows` with whichever OS and architecture you want the library to be built for) | ||
\image html vcpkg.png | ||
- VCPKG will install the library and dependencies for you! Once completed you will receive a message indicating success: | ||
|
||
- Use `vcpkg list dpp` to check that the package is installed: | ||
``` | ||
- VCPKG will install the library, and dependencies, for you! Once completed, you will receive a message, indicating that dpp successfully installed! | ||
- Use `vcpkg list dpp` to check that the package is installed, as so: | ||
```cmd | ||
c:\vcpkg>vcpkg list dpp | ||
dpp:x64-windows 10.0.15 D++ Extremely Lightweight C++ Discord Library. | ||
dpp:x64-windows 10.0.24 D++ Extremely Lightweight C++ Discord Library. | ||
``` | ||
- You may now use the library within a `CMake` based project by adding instructions such as these to your `CMakeLists.txt`: | ||
```cmake | ||
find_package(dpp CONFIG REQUIRED) | ||
target_link_libraries(your_target_name PRIVATE dpp::dpp) | ||
find_package(dpp CONFIG REQUIRED) | ||
target_link_libraries(your_target_name PRIVATE dpp::dpp) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters