Adds vcpkg integration and updates build configuration

Configures CMakePresets.json to utilize vcpkg for dependency management.
Adds support for building with vcpkg.

Adds error message for missing VCPKG_ROOT environment variable.
Adds explicit VCPKG_MANIFEST_FEATURES and VCPKG_INSTALLED_DIR to CMakePresets.json.
Adds benchmark dependency to vcpkg.json.
This commit is contained in:
2025-10-27 07:53:53 +03:00
parent 81aef68143
commit 878e3358c0
3 changed files with 21 additions and 9 deletions

View File

@@ -4,6 +4,7 @@
"description": "General purpose math library",
"homepage": "https://github.com/orange-cpp/omath",
"license": "Zlib",
"builtin-baseline": "b1b19307e2d2ec1eefbdb7ea069de7d4bcd31f01",
"supports": "windows | linux",
"dependencies": [
{
@@ -20,6 +21,12 @@
"description": "Omath will use AVX2 to boost performance",
"supports": "!arm"
},
"benchmark": {
"description": "Build benchmarks",
"dependencies": [
"benchmark"
]
},
"imgui": {
"description": "Omath will define method to convert omath types to imgui types",
"dependencies": [
@@ -31,12 +38,6 @@
"dependencies": [
"gtest"
]
},
"benchmark": {
"description": "Build benchmarks",
"dependencies": [
"benchmark"
]
}
}
}
}