summaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
authortanaka takashi <isazaka@gmail.com>2026-06-29 01:28:01 +0900
committertanaka takashi <isazaka@gmail.com>2026-06-29 01:28:01 +0900
commit8d38b06f11c713e547d70468340242f23322152c (patch)
tree566b4c658d7d0157c0cec4da490b37aa747a2d4e /CMakePresets.json
first commit
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json53
1 files changed, 53 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 0000000..4ee51a5
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,53 @@
+{
+ "version": 6,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 25,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "windows-vs2026",
+ "displayName": "Windows x64 - Visual Studio 2026",
+ "description": "Configure tiny-convmem-mcp with MSVC and vcpkg manifest mode.",
+ "generator": "Visual Studio 18 2026",
+ "architecture": "x64",
+ "binaryDir": "${sourceDir}/build/windows-vs2026",
+ "cacheVariables": {
+ "BUILD_TESTING": "ON",
+ "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
+ "VCPKG_TARGET_TRIPLET": "x64-windows"
+ }
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "windows-vs2026-debug",
+ "configurePreset": "windows-vs2026",
+ "configuration": "Debug"
+ },
+ {
+ "name": "windows-vs2026-release",
+ "configurePreset": "windows-vs2026",
+ "configuration": "Release"
+ }
+ ],
+ "testPresets": [
+ {
+ "name": "windows-vs2026-debug",
+ "configurePreset": "windows-vs2026",
+ "configuration": "Debug",
+ "output": {
+ "outputOnFailure": true
+ }
+ },
+ {
+ "name": "windows-vs2026-release",
+ "configurePreset": "windows-vs2026",
+ "configuration": "Release",
+ "output": {
+ "outputOnFailure": true
+ }
+ }
+ ]
+}