mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Add test application build and run configuration.
This commit is contained in:
parent
d0be4fa784
commit
6d6b7c0989
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
@ -42,5 +42,17 @@
|
|||||||
"externalConsole": false,
|
"externalConsole": false,
|
||||||
"preLaunchTask": "Build update tool"
|
"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"
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
12
.vscode/tasks.json
vendored
12
.vscode/tasks.json
vendored
@ -71,6 +71,18 @@
|
|||||||
"presentation": {
|
"presentation": {
|
||||||
"close": true
|
"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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user