Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery.common.cpp
/
Microservice
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
35304c19
authored
Jan 25, 2018
by
Amir Aharon
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add tasks and fix debug settings
parent
4491b464
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
18 deletions
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/tasks.json
.vscode/c_cpp_properties.json
View file @
35304c19
...
...
@@ -35,7 +35,10 @@
"/usr/include/x86_64-linux-gnu"
,
"/usr/include"
,
"${workspaceRoot}/../3party"
,
"${workspaceRoot}/src"
"${workspaceRoot}/src"
,
"/usr/include/c++/5"
,
"/usr/include/x86_64-linux-gnu/c++/5"
,
"${workspaceRoot}/../3party/cereal/include"
],
"compileCommands"
:
"./compile_commands.json"
,
"defines"
:
[],
...
...
@@ -50,7 +53,9 @@
"/usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed"
,
"/usr/include/x86_64-linux-gnu"
,
"/usr/include"
,
"${workspaceRoot}"
"${workspaceRoot}/../3party"
,
"${workspaceRoot}/src"
,
"/usr/include/c++/5"
],
"limitSymbolsToIncludedHeaders"
:
true
,
"databaseFilename"
:
""
...
...
.vscode/launch.json
View file @
35304c19
...
...
@@ -10,7 +10,7 @@
"preLaunchTask"
:
"start-gdbserver"
,
"miDebuggerPath"
:
"/usr/bin/gdb"
,
"targetArchitecture"
:
"x64"
,
"program"
:
"${workspaceRoot}/bin/test_Microservice"
,
"program"
:
"${workspaceRoot}/b
uild/b
in/test_Microservice"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceRoot}"
,
...
...
@@ -27,7 +27,7 @@
//
"preLaunchTask"
:
"start-gdbserver"
,
"miDebuggerPath"
:
"/usr/bin/gdb"
,
"targetArchitecture"
:
"x64"
,
"program"
:
"${workspaceRoot}/bin/test_Microservice"
,
"program"
:
"${workspaceRoot}/b
uild/b
in/test_Microservice"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceRoot}"
,
...
...
.vscode/tasks.json
View file @
35304c19
...
...
@@ -33,19 +33,6 @@
"problemMatcher"
:
[
"$gcc"
]
//
"problemMatcher"
:
{
//
"severity"
:
"error"
,
//
"base"
:
"$gcc"
,
//
"fileLocation"
:
[
"relative"
,
"${workspaceRoot}"
],
//
"pattern"
:
{
//
"regexp"
:
"^(.*):(
\\
d+):(
\\
d+):
\\
s+(warning|error):
\\
s+(.*)$"
,
//
"file"
:
1
,
//
"line"
:
2
,
//
"column"
:
3
,
//
"severity"
:
4
,
//
"message"
:
5
//
}
//
}
},
{
"label"
:
"clean"
,
...
...
@@ -59,7 +46,7 @@
"label"
:
"start-gdbserver"
,
"type"
:
"shell"
,
//
not
using
-it
so
that
it
can
be
a
preLaunchTask
"command"
:
"docker exec -d devenv gdbserver :2000 bin/test_Microservice"
,
"command"
:
"docker exec -d devenv gdbserver :2000 b
uild/b
in/test_Microservice"
,
"problemMatcher"
:
[]
},
{
...
...
@@ -68,6 +55,21 @@
//
not
using
-it
so
that
it
can
be
a
preLaunchTask
"command"
:
"docker build -t municipalitybank.com:5050/ipgallery.common.cpp/microservice/develop ."
,
"problemMatcher"
:
[]
},
{
"label"
:
"run app"
,
"type"
:
"shell"
,
//
not
using
-it
so
that
it
can
be
a
preLaunchTask
"command"
:
"docker exec -d devenv build/bin/test_Microservice"
,
"problemMatcher"
:
[]
}
,
{
"label"
:
"stop app"
,
"type"
:
"shell"
,
//
not
using
-it
so
that
it
can
be
a
preLaunchTask
"command"
:
"docker exec -d devenv pkill test_Micro"
,
"problemMatcher"
:
[]
}
]
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment