VSCode: added Windows SDL2 build tasks

This commit is contained in:
Aybe 2018-06-13 19:46:07 +02:00
parent d07269d31c
commit dbee9cdae8

83
.vscode/tasks.json vendored
View File

@ -83,5 +83,88 @@
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile"
},
{
"label": "build Windows SDL2 Debug Win32",
"type": "shell",
"command": "msbuild",
"args": [
// Ask msbuild to generate full paths for file names.
"/property:GenerateFullPaths=true",
"/p:Configuration='Debug SDL2'",
"/p:Platform=Win32",
"/t:build",
"vs2015/dosbox-x.sln"
],
"group": "build",
"presentation": {
// Reveal the output only if unrecognized errors occur.
"reveal": "silent"
},
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile"
},
{
"label": "build Windows SDL2 Debug Win64",
"type": "shell",
"command": "msbuild",
"args": [
// Ask msbuild to generate full paths for file names.
"/property:GenerateFullPaths=true",
"/p:Configuration='Debug SDL2'",
"/p:Platform=x64",
"/t:build",
"vs2015/dosbox-x.sln"
],
"group": "build",
"presentation": {
// Reveal the output only if unrecognized errors occur.
"reveal": "silent"
},
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile"
},
{
"label": "build Windows SDL2 Release Win32",
"type": "shell",
"command": "msbuild",
"args": [
// Ask msbuild to generate full paths for file names.
"/property:GenerateFullPaths=true",
"/p:Configuration='Release SDL2'",
"/p:Platform=Win32",
"/t:build",
"vs2015/dosbox-x.sln"
],
"group": "build",
"presentation": {
// Reveal the output only if unrecognized errors occur.
"reveal": "silent"
},
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile"
},
{
"label": "build Windows SDL2 Release Win64",
"type": "shell",
"command": "msbuild",
"args": [
// Ask msbuild to generate full paths for file names.
"/property:GenerateFullPaths=true",
"/p:Configuration='Release SDL2'",
"/p:Platform=x64",
"/t:build",
"vs2015/dosbox-x.sln"
],
"group": "build",
"presentation": {
// Reveal the output only if unrecognized errors occur.
"reveal": "silent"
},
// Use the standard MS compiler pattern to detect errors, warnings and infos
"problemMatcher": "$msCompile"
},
]
}