Skip to content

Commit 517e39f

Browse files
committed
Add build preset to emulate vcpkg install
1 parent 35dbb22 commit 517e39f

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CMakePresets.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,18 @@
115115
"description": "Target Windows (64-bit) with the Visual Studio development environment. (RelWithDebInfo)",
116116
"inherits": "x64-debug",
117117
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
118+
},
119+
{
120+
"name": "x64-windows-vcpkg",
121+
"displayName": "Install only",
122+
"description": "Target Windows x64 Release without any build targets",
123+
"inherits": "x64-release",
124+
"cacheVariables": {
125+
"CMAKE_BUILD_TYPE": "Release",
126+
"TP_BUILD_TESTS": "OFF",
127+
"TP_BUILD_EXAMPLES": "OFFF",
128+
"TP_BUILD_BENCHMARKS":"OFF"
129+
}
118130
}
119131
]
120132
}

0 commit comments

Comments
 (0)