Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resources
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDT4102
VS-Code
resources
Commits
cb038f0c
Commit
cb038f0c
authored
4 months ago
by
Joakim Hunskaar
Browse files
Options
Downloads
Patches
Plain Diff
added new launch config and build task
parent
91a590ad
No related branches found
No related tags found
1 merge request
!12
added new launch config and build task
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configuration/.vscode/launch.json
+29
-2
29 additions, 2 deletions
configuration/.vscode/launch.json
configuration/.vscode/tasks.json
+25
-3
25 additions, 3 deletions
configuration/.vscode/tasks.json
with
54 additions
and
5 deletions
configuration/.vscode/launch.json
+
29
−
2
View file @
cb038f0c
...
...
@@ -8,7 +8,34 @@
"args"
:
[],
"cwd"
:
"${workspaceFolder}"
,
"preLaunchTask"
:
"Build Executable"
,
"internalConsoleOptions"
:
"neverOpen"
,
"internalConsoleOptions"
:
"neverOpen"
},
{
"name"
:
"C/C++: TDT4102 Build and Run Debug"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/builddir/program"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"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"
:
"TDT4102 Build Executable"
,
"miDebuggerPath"
:
"gdb"
}
]
],
"version"
:
"2.0.0"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
configuration/.vscode/tasks.json
+
25
−
3
View file @
cb038f0c
...
...
@@ -4,8 +4,29 @@
{
"type"
:
"shell"
,
"label"
:
"Build Executable"
,
"command"
:
"meson compile -Cbuilddir"
,
"group"
:
"build"
,
"presentation"
:
{
"echo"
:
true
,
"reveal"
:
"always"
,
"focus"
:
false
,
"panel"
:
"shared"
,
"showReuseMessage"
:
true
,
"clear"
:
true
},
"problemMatcher"
:
[]
},
{
"type"
:
"cppbuild"
,
"label"
:
"TDT4102 Build Executable"
,
"command"
:
"meson"
,
"args"
:
[
"compile"
,
"-Cbuilddir"
],
"args"
:
[
"compile"
,
"-Cbuilddir"
],
"options"
:
{
"cwd"
:
"${workspaceFolder}"
},
"group"
:
{
"kind"
:
"build"
,
"isDefault"
:
true
...
...
@@ -17,7 +38,8 @@
"panel"
:
"shared"
,
"showReuseMessage"
:
true
,
"clear"
:
true
}
},
"detail"
:
"Task generated by TDT4102 ."
}
]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment