Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2020-08-15 03:10:14 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2020-08-15 03:10:14 +0300
commit5243bfe5a013fdfbd5e24df1b2b110087990cab5 (patch)
treef564f26a797dfdf43e21b088f33f0dd76f3a8598 /.vscode
parent95067dd88efc21820ab6ed0a9f6bd55cc0e4eb3b (diff)
Add minimal vscode configuration.
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/c_cpp_properties.json17
-rw-r--r--.vscode/launch.json27
-rw-r--r--.vscode/tasks.json20
3 files changed, 64 insertions, 0 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
new file mode 100644
index 00000000..fda09261
--- /dev/null
+++ b/.vscode/c_cpp_properties.json
@@ -0,0 +1,17 @@
+{
+ "configurations": [
+ {
+ "name": "Linux",
+ "includePath": [
+ "${workspaceFolder}/**",
+ "/usr/include/freetype2"
+ ],
+ "defines": [],
+ "compilerPath": "/usr/bin/clang++",
+ "cStandard": "c11",
+ "cppStandard": "c++17",
+ "intelliSenseMode": "clang-x64"
+ }
+ ],
+ "version": 4
+} \ No newline at end of file
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 00000000..3bf50141
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,27 @@
+{
+ // 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",
+ "program": "${workspaceFolder}/profiler/build/unix/Tracy-debug",
+ "args": [],
+ "stopAtEntry": false,
+ "cwd": "${workspaceFolder}",
+ "environment": [],
+ "externalConsole": false,
+ "MIMode": "gdb",
+ "setupCommands": [
+ {
+ "description": "Włącz formatowanie kodu dla gdb",
+ "text": "-enable-pretty-printing",
+ "ignoreFailures": true
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 00000000..35c214b3
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,20 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Build Profiler",
+ "type": "shell",
+ "command": "make debug -C profiler/build/unix -j 24",
+ "problemMatcher": {
+ "base": "$gcc",
+ "fileLocation": ["relative", "${workspaceRoot}/profiler/build/unix"]
+ },
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ }
+ }
+ ]
+} \ No newline at end of file