-
Notifications
You must be signed in to change notification settings - Fork 2
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 #10 from fedebenelli/dev
update
- Loading branch information
Showing
10 changed files
with
463 additions
and
310 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,60 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "(gdb) Launch", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
// Executable name here: | ||
"program": "${workspaceFolder}/build/vscode/bin/fenvelopes", | ||
// Optional arguments here: | ||
"args": ["--infile", "infiles/case2.nml"], | ||
"stopAtEntry": true, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
}, | ||
{ | ||
"description": "Set Disassembly Flavor to Intel", | ||
"text": "-gdb-set disassembly-flavor intel", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "fpm: install" | ||
}, | ||
{ | ||
"name": "(gdb) Launch Test", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/build/vscode/${relativeFileDirname}/${fileBasenameNoExtension}", | ||
"args": [], | ||
"stopAtEntry": true, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
}, | ||
{ | ||
"description": "Set Disassembly Flavor to Intel", | ||
"text": "-gdb-set disassembly-flavor intel", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "fpm: test Single File" | ||
} | ||
] | ||
} |
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,64 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "fpm: install", | ||
"type": "shell", | ||
"command": "fpm", | ||
"args": [ | ||
"install", | ||
"--profile", | ||
"debug", | ||
"--prefix", | ||
"${workspaceRoot}/build/vscode" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "fpm: test Single File", | ||
"type": "shell", | ||
"command": "fpm", | ||
"args": [ | ||
"test", | ||
"--target", | ||
"${fileBasenameNoExtension}", | ||
"--profile", | ||
"debug", | ||
"--runner", | ||
"cp", | ||
"--", | ||
"${workspaceFolder}/build/vscode/test/" | ||
], | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
}, | ||
"dependsOn": ["Copy Directory Structure"], | ||
"dependsOrder": "sequence" | ||
}, | ||
{ | ||
"label": "Copy Directory Structure", | ||
"type": "shell", | ||
"options": { "cwd": "${workspaceFolder}/test" }, | ||
"linux": { | ||
"command": "find", | ||
"args": [ | ||
".", | ||
"-type", | ||
"d", | ||
"-exec", | ||
"mkdir", | ||
"-p", | ||
"--", | ||
"${workspaceRoot}/build/vscode/test/{}", | ||
"\\;" | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.