-
Notifications
You must be signed in to change notification settings - Fork 1
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 #29 from codefreak/fix/run-configurations
Add run configurations for all templates
- Loading branch information
Showing
5 changed files
with
64 additions
and
29 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
|
||
# Ignore Gradle build output directory | ||
build | ||
templates/csharp/**/obj |
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,13 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"preLaunchTask": "Build Project", | ||
"program": "${workspaceFolder}/build/src/ExampleProject_run", | ||
"cwd": "${workspaceFolder}", | ||
} | ||
] | ||
} |
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,24 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Create build directory", | ||
"type": "shell", | ||
"command": "mkdir -p ${workspaceFolder}/build" | ||
}, | ||
{ | ||
"label": "Run CMake", | ||
"type": "shell", | ||
"dependsOn": "Create build directory", | ||
"command": "cmake -B ${workspaceFolder}/build", | ||
"group": "build" | ||
}, | ||
{ | ||
"label": "Build Project", | ||
"type": "shell", | ||
"dependsOn": "Run CMake", | ||
"command": "cmake --build ${workspaceFolder}/build --config Debug --target ExampleProject_run", | ||
"group": "build" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1,27 +1,24 @@ | ||
{ | ||
// Use IntelliSense to find out which attributes exist for C# debugging | ||
// Use hover for the description of the existing attributes | ||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": ".NET Core Launch (console)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
// If you have changed target frameworks, make sure to update the program path. | ||
"program": "${workspaceFolder}/src/AddFunction/bin/Debug/netcoreapp3.0/AddFunction.dll", | ||
"args": [], | ||
"cwd": "${workspaceFolder}/src/AddFunction", | ||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach", | ||
"processId": "${command:pickProcess}" | ||
} | ||
] | ||
} | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": ".NET Core Launch (console)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build", | ||
"program": "${workspaceFolder}/src/AddFunction/bin/Debug/netcoreapp3.0/AddFunction.dll", | ||
"args": [], | ||
"cwd": "${workspaceFolder}/src/AddFunction", | ||
"console": "integratedTerminal", | ||
"stopAtEntry": false, | ||
"internalConsoleOptions": "openOnSessionStart", | ||
"pipeTransport": { | ||
"pipeCwd": "${workspaceFolder}/src/AddFunction", | ||
"pipeProgram": "bash", | ||
"pipeArgs": ["-c"], | ||
"debuggerPath": "/home/coder/bin/netcoredbg/netcoredbg", | ||
"quoteArgs": true | ||
} | ||
} | ||
,] | ||
} |
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