Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 5e4e8b0

Browse files
committed
Add Visual Studio CMakeSettings.json file
"The CMakeSettings.json file contains information that specifies how Visual Studio should interact with CMake to build a project for a specified platform" More information can be found here: https://docs.microsoft.com/en-us/cpp/build/cmakesettings-reference?view=vs-2019 Bug: b/139189696 Change-Id: Ib2d6a79ad997b39538d49e17c3362818b8deaac4 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35091 Reviewed-by: Nicolas Capens <[email protected]> Tested-by: Ben Clayton <[email protected]> Kokoro-Presubmit: kokoro <[email protected]>
1 parent 0953d9b commit 5e4e8b0

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

CMakeSettings.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "x64-Debug",
5+
"generator": "Ninja",
6+
"configurationType": "Debug",
7+
"inheritEnvironments": [ "msvc_x64_x64" ],
8+
"buildRoot": "${projectDir}\\out\\build\\${name}",
9+
"installRoot": "${projectDir}\\out\\install\\${name}",
10+
"cmakeCommandArgs": "",
11+
"buildCommandArgs": "-v",
12+
"ctestCommandArgs": "",
13+
"variables": []
14+
},
15+
{
16+
"name": "x86-Debug",
17+
"generator": "Ninja",
18+
"configurationType": "Debug",
19+
"buildRoot": "${projectDir}\\out\\build\\${name}",
20+
"installRoot": "${projectDir}\\out\\install\\${name}",
21+
"cmakeCommandArgs": "",
22+
"buildCommandArgs": "-v",
23+
"ctestCommandArgs": "",
24+
"inheritEnvironments": [ "msvc_x86" ],
25+
"variables": []
26+
},
27+
{
28+
"name": "x86-Release",
29+
"generator": "Ninja",
30+
"configurationType": "RelWithDebInfo",
31+
"buildRoot": "${projectDir}\\out\\build\\${name}",
32+
"installRoot": "${projectDir}\\out\\install\\${name}",
33+
"cmakeCommandArgs": "",
34+
"buildCommandArgs": "-v",
35+
"ctestCommandArgs": "",
36+
"inheritEnvironments": [ "msvc_x86" ],
37+
"variables": []
38+
},
39+
{
40+
"name": "x64-Release",
41+
"generator": "Ninja",
42+
"configurationType": "RelWithDebInfo",
43+
"buildRoot": "${projectDir}\\out\\build\\${name}",
44+
"installRoot": "${projectDir}\\out\\install\\${name}",
45+
"cmakeCommandArgs": "",
46+
"buildCommandArgs": "-v",
47+
"ctestCommandArgs": "",
48+
"inheritEnvironments": [ "msvc_x64_x64" ],
49+
"variables": []
50+
}
51+
]
52+
}

0 commit comments

Comments
 (0)