-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from GkIgor/depurador
build: add .json to vscode
- Loading branch information
Showing
2 changed files
with
139 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Cmake Configurar", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/galaxy", | ||
"args": [ | ||
"${workspaceFolder}/examples/a.glx" | ||
], | ||
"stopAtEntry": false, | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "/usr/bin/gdb", | ||
"cwd": "${workspaceFolder}", | ||
"preLaunchTask": "CMake Configure" | ||
}, | ||
{ | ||
"name": "Build Project", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/galaxy", | ||
"args": [ | ||
"${workspaceFolder}/examples/a.glx" | ||
], | ||
"stopAtEntry": false, | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "/usr/bin/gdb", | ||
"cwd": "${workspaceFolder}", | ||
"preLaunchTask": "CMake Build" | ||
}, | ||
{ | ||
"name": "Run Lexer_Test", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/src/frontend/lexer/lexer_test", | ||
"args": [ | ||
"${workspaceFolder}/examples/a.glx" | ||
], | ||
"stopAtEntry": false, | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "/usr/bin/gdb", | ||
"cwd": "${workspaceFolder}", | ||
"preLaunchTask": "Run Lexer Test" | ||
}, | ||
{ | ||
"name": "Run Parser_Test", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/src/frontend/parser/parser_test", | ||
"args": [ | ||
"${workspaceFolder}/examples/a.glx" | ||
], | ||
"stopAtEntry": false, | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "/usr/bin/gdb", | ||
"cwd": "${workspaceFolder}", | ||
"preLaunchTask": "Run Parser Test" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "CMake Configure", | ||
"type": "shell", | ||
"command": "cmake", | ||
"args": [ | ||
"." | ||
], | ||
"group": "build", | ||
"problemMatcher": [], | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
} | ||
}, | ||
{ | ||
"label": "CMake Build", | ||
"type": "shell", | ||
"command": "make", | ||
"args": [], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [ | ||
"$gcc" | ||
], | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
} | ||
}, | ||
{ | ||
"label": "Run Lexer Test", | ||
"type": "shell", | ||
"command": "./src/frontend/lexer/lexer_test", | ||
"args": [ | ||
"./examples/a.glx" | ||
], | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [ | ||
"$gcc" | ||
], | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
} | ||
}, | ||
{ | ||
"label": "Run Parser Test", | ||
"type": "shell", | ||
"command": "./src/frontend/parser/parser_test", | ||
"args": [ | ||
"./examples/a.glx" | ||
], | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [ | ||
"$gcc" | ||
], | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
} | ||
} | ||
] | ||
} |