From b73a0ff54ebad91c41f2559b9cbc0d9dd1e4adba Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 18 Dec 2023 21:03:29 +0100 Subject: [PATCH] Replace build and launch config by CMake integration. --- .vscode/launch.json | 53 +++------------------------ .vscode/tasks.json | 88 --------------------------------------------- 2 files changed, 4 insertions(+), 137 deletions(-) delete mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json index c58499c4..86287f45 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,58 +1,13 @@ { - // 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": "Launch Profiler GUI", + "name": "Launch", "type": "lldb", "request": "launch", - "program": "${workspaceFolder}/profiler/build/unix/Tracy-debug", + "program": "${command:cmake.launchTargetPath}", "args": [], - "stopAtEntry": false, "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "preLaunchTask": "Build Profiler GUI", - "console": "internalConsole", - "internalConsoleOptions": "neverOpen" - }, - { - "name": "Launch capture tool", - "type": "lldb", - "request": "launch", - "program": "${workspaceFolder}/capture/build/unix/capture-debug", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "preLaunchTask": "Build capture tool" - }, - { - "name": "Launch update tool", - "type": "lldb", - "request": "launch", - "program": "${workspaceFolder}/update/build/unix/update-debug", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "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 deleted file mode 100644 index 40d1c731..00000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "Build Profiler GUI", - "type": "shell", - "command": "CC=clang CXX=clang++ make debug -C profiler/build/unix -j `nproc`", - "group": { - "kind": "build", - "isDefault": true - }, - "presentation": { - "close": true - } - }, - { - "label": "Build capture tool", - "type": "shell", - "command": "CC=clang CXX=clang++ make debug -C capture/build/unix -j `nproc`", - "group": { - "kind": "build", - "isDefault": true - }, - "presentation": { - "close": true - } - }, - { - "label": "Build csvexport tool", - "type": "shell", - "command": "CC=clang CXX=clang++ make debug -C csvexport/build/unix -j `nproc`", - "group": { - "kind": "build", - "isDefault": true - }, - "presentation": { - "close": true - } - }, - { - "label": "Build import-chrome tool", - "type": "shell", - "command": "CC=clang CXX=clang++ make debug -C import-chrome/build/unix -j `nproc`", - "group": { - "kind": "build", - "isDefault": true - } - }, - { - "label": "Build update tool", - "type": "shell", - "command": "CC=clang CXX=clang++ make debug -C update/build/unix -j `nproc`", - "group": { - "kind": "build", - "isDefault": true - }, - "presentation": { - "close": true - } - }, - { - "label": "Build client library", - "type": "shell", - "command": "CC=clang CXX=clang++ make debug -C library/unix -j `nproc`", - "group": { - "kind": "build", - "isDefault": true - }, - "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