|
配置文件?
{
"configurations": [
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [
"msvc_x64_x64"
],
"buildRoot": "${projectDir}\\build\\${name}",
"installRoot": "${projectDir}\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
},
{
"name": "x64-Release",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [
"msvc_x64_x64"
],
"buildRoot": "${projectDir}\\build\\${name}",
"installRoot": "${projectDir}\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
}
]
}
-
buildRoot: Specifies the directory in which CMake generates build scripts for the chosen generator. Maps to?-DCMAKE_BINARY_DIR?switch and specifies where?CMakeCache.txt?is created. If the folder doesn't exist, it's created. Supported macros include?${workspaceRoot},?${workspaceHash},?${projectFile},?${projectDir},?${thisFile},?${thisFileDir},?${name},?${generator},?${env.VARIABLE}.
?
添加配置?
?
|