Skip to content

Commit 95ee0ed

Browse files
committed
Added vcpkg.json
1 parent 26f0c8d commit 95ee0ed

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,28 @@ This is a network library that has:
4343
- cryptopp
4444
- libcurl
4545

46-
Use vcpkg on windows to install these dependencies when building with Visual Studio & cmake.
47-
Dont forget to install the correct triplet "vcpkg install boost --triplet x64-windows", when building 64 bit.
46+
Use vcpkg on windows for these dependencies when building with Visual Studio & cmake.
4847
https://vcpkg.io/en/getting-started.html
4948

49+
Example CMakeSettings.json
50+
```json
51+
{
52+
"configurations": [
53+
{
54+
"name": "x64-Clang-Debug",
55+
"generator": "Ninja",
56+
"configurationType": "Debug",
57+
"buildRoot": "${projectDir}\\build\\${name}",
58+
"installRoot": "${projectDir}\\build\\install\\${name}",
59+
"buildCommandArgs": "",
60+
"ctestCommandArgs": "",
61+
"inheritEnvironments": [ "clang_cl_x64" ],
62+
"cmakeCommandArgs": "-DVCPKG_DEFAULT_TRIPLET=x64-windows",
63+
"cmakeToolchain": "D:/vcpkg/scripts/buildsystems/vcpkg.cmake"
64+
}
65+
]
66+
}
67+
```
68+
5069
# Developer Notes
5170
On msys2 use python (3) and python-pip of your subsystem, otherwise packages are not found

vcpkg.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "roar",
3+
"dependencies": [
4+
"boost",
5+
"openssl",
6+
"cryptopp",
7+
"curl"
8+
]
9+
}

0 commit comments

Comments
 (0)