From 6d6b7c09898eaeefe79a2a6ca13548406bdcd561 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 30 Apr 2022 18:24:22 +0200 Subject: [PATCH] Add test application build and run configuration. --- .vscode/launch.json | 12 ++++++++++++ .vscode/tasks.json | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 0da9a71f..c58499c4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -42,5 +42,17 @@ "externalConsole": false, "preLaunchTask": "Build update tool" }, + { + "name": "Launch test application", + "type": "lldb", + "request": "launch", + "program": "${workspaceFolder}/test/tracy_test", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/test", + "environment": [], + "externalConsole": false, + "preLaunchTask": "Build test application" + }, ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f08379b0..40d1c731 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -71,6 +71,18 @@ "presentation": { "close": true } + }, + { + "label": "Build test application", + "type": "shell", + "command": "CC=clang CXX=clang++ make OPTFLAGS=-DTRACY_VERBOSE\\ -fno-omit-frame-pointer\\ -march=native\\ -g -C test -j `nproc`", + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "close": true + } } ] } \ No newline at end of file