Browse Source
This is mainly to help me test code builds under GCC faster than pushing to the remote and letting the build server do it. If someone without WSL installed selects the build target they'll get an error in their IDE, but no harmful impact other than that. The variables should be populated for any WSL2 installation. No idea about WSL1. The whitespace in this file is showing significant changes because visual studio regenerates the whole file when a change is made, I didn't think it was worth reverting since it'll happen again next time someone makes a change (seems it defaults to spaces...). Added an entry to .editorconfig documenting the format used.pull/3452/head
3 changed files with 89 additions and 69 deletions
@ -1,68 +1,82 @@ |
|||||||
{ |
{ |
||||||
"configurations": [ |
"configurations": [ |
||||||
{ |
{ |
||||||
"name": "x64-Debug", |
"name": "x64-Debug", |
||||||
"generator": "Ninja", |
"generator": "Ninja", |
||||||
"configurationType": "Debug", |
"configurationType": "Debug", |
||||||
"buildRoot": "${workspaceRoot}\\build\\${name}", |
"buildRoot": "${workspaceRoot}\\build\\${name}", |
||||||
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
||||||
"inheritEnvironments": [ "msvc_x64" ], |
"inheritEnvironments": [ "msvc_x64" ], |
||||||
"intelliSenseMode": "windows-msvc-x64", |
"intelliSenseMode": "windows-msvc-x64", |
||||||
"enableClangTidyCodeAnalysis": true |
"enableClangTidyCodeAnalysis": true |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
"name": "x64-Debug-UnitTests", |
"name": "x64-Debug-UnitTests", |
||||||
"generator": "Ninja", |
"generator": "Ninja", |
||||||
"configurationType": "Debug", |
"configurationType": "Debug", |
||||||
"buildRoot": "${workspaceRoot}\\build\\${name}", |
"buildRoot": "${workspaceRoot}\\build\\${name}", |
||||||
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
||||||
"inheritEnvironments": [ "msvc_x64" ], |
"inheritEnvironments": [ "msvc_x64" ], |
||||||
"intelliSenseMode": "windows-msvc-x64", |
"intelliSenseMode": "windows-msvc-x64", |
||||||
"cmakeCommandArgs": "-DRUN_TESTS=ON", |
"cmakeCommandArgs": "-DRUN_TESTS=ON", |
||||||
"enableClangTidyCodeAnalysis": true |
"enableClangTidyCodeAnalysis": true |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
"name": "x64-Release", |
"name": "x64-Release", |
||||||
"generator": "Ninja", |
"generator": "Ninja", |
||||||
"configurationType": "Release", |
"configurationType": "Release", |
||||||
"buildRoot": "${workspaceRoot}\\build\\${name}", |
"buildRoot": "${workspaceRoot}\\build\\${name}", |
||||||
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
||||||
"cmakeCommandArgs": "-DBINARY_RELEASE=ON", |
"cmakeCommandArgs": "-DBINARY_RELEASE=ON", |
||||||
"inheritEnvironments": [ "msvc_x64" ], |
"inheritEnvironments": [ "msvc_x64" ], |
||||||
"intelliSenseMode": "windows-msvc-x64", |
"intelliSenseMode": "windows-msvc-x64", |
||||||
"enableClangTidyCodeAnalysis": true |
"enableClangTidyCodeAnalysis": true |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
"name": "x86-Debug", |
"name": "x86-Debug", |
||||||
"generator": "Ninja", |
"generator": "Ninja", |
||||||
"configurationType": "Debug", |
"configurationType": "Debug", |
||||||
"buildRoot": "${workspaceRoot}\\build\\${name}", |
"buildRoot": "${workspaceRoot}\\build\\${name}", |
||||||
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
||||||
"inheritEnvironments": [ "msvc_x86" ], |
"inheritEnvironments": [ "msvc_x86" ], |
||||||
"intelliSenseMode": "windows-msvc-x86", |
"intelliSenseMode": "windows-msvc-x86", |
||||||
"enableClangTidyCodeAnalysis": true |
"enableClangTidyCodeAnalysis": true |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
"name": "x86-Debug-UnitTests", |
"name": "x86-Debug-UnitTests", |
||||||
"generator": "Ninja", |
"generator": "Ninja", |
||||||
"configurationType": "Debug", |
"configurationType": "Debug", |
||||||
"buildRoot": "${workspaceRoot}\\build\\${name}", |
"buildRoot": "${workspaceRoot}\\build\\${name}", |
||||||
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
||||||
"inheritEnvironments": [ "msvc_x86" ], |
"inheritEnvironments": [ "msvc_x86" ], |
||||||
"intelliSenseMode": "windows-msvc-x86", |
"intelliSenseMode": "windows-msvc-x86", |
||||||
"cmakeCommandArgs": "-DRUN_TESTS=ON", |
"cmakeCommandArgs": "-DRUN_TESTS=ON", |
||||||
"enableClangTidyCodeAnalysis": true |
"enableClangTidyCodeAnalysis": true |
||||||
}, |
}, |
||||||
{ |
{ |
||||||
"name": "x86-Release", |
"name": "x86-Release", |
||||||
"generator": "Ninja", |
"generator": "Ninja", |
||||||
"configurationType": "Release", |
"configurationType": "Release", |
||||||
"buildRoot": "${workspaceRoot}\\build\\${name}", |
"buildRoot": "${workspaceRoot}\\build\\${name}", |
||||||
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
||||||
"cmakeCommandArgs": "-DBINARY_RELEASE=ON", |
"cmakeCommandArgs": "-DBINARY_RELEASE=ON", |
||||||
"inheritEnvironments": [ "msvc_x86" ], |
"inheritEnvironments": [ "msvc_x86" ], |
||||||
"intelliSenseMode": "windows-msvc-x86", |
"intelliSenseMode": "windows-msvc-x86", |
||||||
"enableClangTidyCodeAnalysis": true |
"enableClangTidyCodeAnalysis": true |
||||||
} |
}, |
||||||
] |
{ |
||||||
} |
"name": "WSL-GCC-x64-Debug", |
||||||
|
"generator": "Ninja", |
||||||
|
"configurationType": "Debug", |
||||||
|
"buildRoot": "${workspaceRoot}\\build\\${name}", |
||||||
|
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", |
||||||
|
"cmakeExecutable": "cmake", |
||||||
|
"cmakeCommandArgs": "", |
||||||
|
"buildCommandArgs": "", |
||||||
|
"ctestCommandArgs": "", |
||||||
|
"inheritEnvironments": [ "linux_x64" ], |
||||||
|
"wslPath": "${defaultWSLPath}", |
||||||
|
"variables": [] |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
Loading…
Reference in new issue