aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Finrod Felagund <finrod.felagund.97@gmail.com>2024-04-15 22:24:49 +0200
committerLibravatar Finrod Felagund <finrod.felagund.97@gmail.com>2024-04-16 16:57:00 +0200
commitc625dfa1a04cb0f0bed5e51bac64b595c8b483c3 (patch)
tree6775918a19a7c1ddea33308a5f65a3886c38e39f
parent164eaab23e36be7300b740d1a0e37155c02755ff (diff)
configure vcpkg build
-rw-r--r--CMakePresets.json13
-rw-r--r--vcpkg-configuration.json14
-rw-r--r--vcpkg.json8
3 files changed, 35 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 0000000..8c57178
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,13 @@
+{
+ "version": 2,
+ "configurePresets": [
+ {
+ "name": "default",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build",
+ "cacheVariables": {
+ "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
+ }
+ }
+ ]
+ } \ No newline at end of file
diff --git a/vcpkg-configuration.json b/vcpkg-configuration.json
new file mode 100644
index 0000000..850abfe
--- /dev/null
+++ b/vcpkg-configuration.json
@@ -0,0 +1,14 @@
+{
+ "default-registry": {
+ "kind": "git",
+ "baseline": "582a4de14bef91df217f4f49624cf5b2b04bd7ca",
+ "repository": "https://github.com/microsoft/vcpkg"
+ },
+ "registries": [
+ {
+ "kind": "artifact",
+ "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
+ "name": "microsoft"
+ }
+ ]
+}
diff --git a/vcpkg.json b/vcpkg.json
new file mode 100644
index 0000000..579ca88
--- /dev/null
+++ b/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "dependencies": [
+ "nlohmann-json",
+ "openssl",
+ "plog",
+ "websocketpp"
+ ]
+}