windows system

This commit is contained in:
2026-10-06 13:23:15 +02:00
parent 03d2ece7d6
commit 208a3e9738
12 changed files with 93 additions and 16 deletions
+4 -1
View File
@@ -27,7 +27,10 @@
],
"windows": {
"program": "${workspaceFolder}/build/hello.exe",
"miDebuggerPath": "C:/msys64/ucrt64/bin/gdb.exe"
"miDebuggerPath": "C:/msys64/ucrt64/bin/gdb.exe",
"environment": [
{ "name": "PATH", "value": "C:/msys64/ucrt64/bin;${env:PATH}" }
]
}
}
]
+14 -1
View File
@@ -1,6 +1,7 @@
{
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.eol": "\n",
"files.associations": {
"*.h": "c"
},
@@ -12,5 +13,17 @@
"[makefile]": {
"editor.insertSpaces": false,
"editor.detectIndentation": false
}
},
"terminal.integrated.profiles.windows": {
"MSYS2 UCRT64": {
"path": "C:/msys64/usr/bin/bash.exe",
"args": ["--login", "-i"],
"env": {
"MSYSTEM": "UCRT64",
"CHERE_INVOKING": "1",
"MSYS2_PATH_TYPE": "inherit"
}
}
},
"terminal.integrated.defaultProfile.windows": "MSYS2 UCRT64"
}
+16
View File
@@ -1,5 +1,18 @@
{
"version": "2.0.0",
"windows": {
"options": {
"shell": {
"executable": "C:/msys64/usr/bin/bash.exe",
"args": ["--login", "-c"]
},
"env": {
"MSYSTEM": "UCRT64",
"CHERE_INVOKING": "1",
"MSYS2_PATH_TYPE": "inherit"
}
}
},
"tasks": [
{
"label": "make",
@@ -24,6 +37,9 @@
"label": "valgrind",
"type": "shell",
"command": "valgrind --leak-check=full ./build/hello",
"windows": {
"command": "echo 'valgrind no existe en Windows: pruébalo en Fedora'"
},
"dependsOn": "make",
"problemMatcher": []
}