From d6242a7fad32b07eab9c696a82bcad23c7153221 Mon Sep 17 00:00:00 2001 From: Karutoh Date: Mon, 1 Jul 2024 19:53:57 -0700 Subject: [PATCH] Added CI/CD. --- CMakePresets.json | 12 ++++++++++++ vcpkg-configuration.json | 14 ++++++++++++++ vcpkg.json | 9 +++++++++ 3 files changed, 35 insertions(+) create mode 100644 CMakePresets.json create mode 100644 vcpkg-configuration.json create mode 100644 vcpkg.json diff --git a/CMakePresets.json b/CMakePresets.json new file mode 100644 index 0000000..afabfde --- /dev/null +++ b/CMakePresets.json @@ -0,0 +1,12 @@ +{ + "version": 3, + "configurePresets": [ + { + "name": "default", + "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..427355d --- /dev/null +++ b/vcpkg-configuration.json @@ -0,0 +1,14 @@ +{ + "default-registry": { + "kind": "git", + "baseline": "42bb0d9e8d4cf33485afb9ee2229150f79f61a1f", + "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..81283b1 --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,9 @@ +{ + "dependencies" : [ "openssl", "zlib", { + "name" : "openssl", + "version>=" : "3.2.0#2" + }, { + "name" : "freetype", + "version>=" : "2.13.2" + } ] +} \ No newline at end of file