-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.json
32 lines (32 loc) · 935 Bytes
/
tasks.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"version": "2.0.0",
"tasks": [
{
"label": "Compilar C++",
"type": "shell",
"command": "g++",
"args": [
"-I./includes",
"PRUEBA.cpp",
"includes/funciones.cpp",
"-o",
"PRUEBA.EXE"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": ["$gcc"],
"detail": "Compilación de C++ con g++"
},
{
"label": "Ejecutar C++",
"type": "shell",
"command": "./PRUEBA.EXE",
"group": "none", // Esta tarea no está en un grupo por defecto
"dependsOn": "Compilar C++", // Asegura que se compile antes de ejecutar
"problemMatcher": [],
"detail": "Ejecutar el programa C++ compilado"
}
]
}