61 lines
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "x64-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": ""
|
|
},
|
|
{
|
|
"name": "x86-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "msvc_x86" ]
|
|
},
|
|
{
|
|
"name": "Mingw64-Release",
|
|
"generator": "Ninja",
|
|
"configurationType": "RelWithDebInfo",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "-v",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "mingw_64" ],
|
|
"environments": [
|
|
{
|
|
"MINGW64_ROOT": "C:/msys64/mingw64",
|
|
"BIN_ROOT": "${env.MINGW64_ROOT}/bin",
|
|
"FLAVOR": "x86_64-w64-mingw32",
|
|
"TOOLSET_VERSION": "9.1.0",
|
|
"PATH": "${env.MINGW64_ROOT}/bin;${env.MINGW64_ROOT}/../usr/local/bin;${env.MINGW64_ROOT}/../usr/bin;${env.MINGW64_ROOT}/../bin;${env.PATH}",
|
|
"INCLUDE": "${env.INCLUDE};${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION};${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION}/tr1;${env.MINGW64_ROOT}/include/c++/${env.TOOLSET_VERSION}/${env.FLAVOR}",
|
|
"environment": "mingw_64"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"name": "CMAKE_C_COMPILER",
|
|
"value": "${env.BIN_ROOT}/gcc.exe",
|
|
"type": "STRING"
|
|
},
|
|
{
|
|
"name": "CMAKE_CXX_COMPILER",
|
|
"value": "${env.BIN_ROOT}/g++.exe",
|
|
"type": "STRING"
|
|
}
|
|
],
|
|
"intelliSenseMode": "linux-gcc-x64"
|
|
}
|
|
]
|
|
} |