55 строки
2.0 KiB
JSON
55 строки
2.0 KiB
JSON
{
|
|
"configurations": [
|
|
// We don't work... need some work to translate makewin script settings.
|
|
// In VS 2019, the MakeWin config is the easiest to use.
|
|
{
|
|
"name": "x86-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"inheritEnvironments": [ "msvc_x86" ],
|
|
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
|
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
|
|
"cmakeCommandArgs": "-DWIN32=ON",
|
|
"buildCommandArgs": "-v",
|
|
"ctestCommandArgs": ""
|
|
},
|
|
{
|
|
"name": "x86-Release",
|
|
"generator": "Ninja",
|
|
"configurationType": "Release",
|
|
"inheritEnvironments": [ "msvc_x86" ],
|
|
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
|
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
|
|
"cmakeCommandArgs": "-DWIN32=ON",
|
|
"buildCommandArgs": "-v",
|
|
"ctestCommandArgs": ""
|
|
},
|
|
{
|
|
"name": "x64-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"inheritEnvironments": [ "msvc_x64" ],
|
|
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
|
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
|
|
"cmakeCommandArgs": "-DWIN32=ON",
|
|
"buildCommandArgs": "-v",
|
|
"ctestCommandArgs": ""
|
|
},
|
|
{
|
|
"name": "x64-Release",
|
|
"generator": "Ninja",
|
|
"configurationType": "Release",
|
|
"inheritEnvironments": [ "msvc_x64" ],
|
|
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
|
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
|
|
"cmakeCommandArgs": "-DWIN32=ON",
|
|
"buildCommandArgs": "-v",
|
|
"ctestCommandArgs": ""
|
|
},
|
|
// The configuration generated by the makewin script
|
|
{
|
|
"name": "MakeWin",
|
|
"cacheRoot": "${projectDir}\\.vs"
|
|
}
|
|
]
|
|
} |