Use clang to make VS Code builds.

This should improve build times to take only ~65% of time.
This commit is contained in:
Bartosz Taudul 2022-04-26 21:19:28 +02:00
parent 1f3ebc9f41
commit 1a94929780
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

12
.vscode/tasks.json vendored
View File

@ -6,7 +6,7 @@
{ {
"label": "Build Profiler GUI", "label": "Build Profiler GUI",
"type": "shell", "type": "shell",
"command": "make debug -C profiler/build/unix -j `nproc`", "command": "CC=clang CXX=clang++ make debug -C profiler/build/unix -j `nproc`",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
@ -18,7 +18,7 @@
{ {
"label": "Build capture tool", "label": "Build capture tool",
"type": "shell", "type": "shell",
"command": "make debug -C capture/build/unix -j `nproc`", "command": "CC=clang CXX=clang++ make debug -C capture/build/unix -j `nproc`",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
@ -30,7 +30,7 @@
{ {
"label": "Build csvexport tool", "label": "Build csvexport tool",
"type": "shell", "type": "shell",
"command": "make debug -C csvexport/build/unix -j `nproc`", "command": "CC=clang CXX=clang++ make debug -C csvexport/build/unix -j `nproc`",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
@ -42,7 +42,7 @@
{ {
"label": "Build import-chrome tool", "label": "Build import-chrome tool",
"type": "shell", "type": "shell",
"command": "make debug -C import-chrome/build/unix -j `nproc`", "command": "CC=clang CXX=clang++ make debug -C import-chrome/build/unix -j `nproc`",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
@ -51,7 +51,7 @@
{ {
"label": "Build update tool", "label": "Build update tool",
"type": "shell", "type": "shell",
"command": "make debug -C update/build/unix -j `nproc`", "command": "CC=clang CXX=clang++ make debug -C update/build/unix -j `nproc`",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
@ -63,7 +63,7 @@
{ {
"label": "Build client library", "label": "Build client library",
"type": "shell", "type": "shell",
"command": "make debug -C library/unix -j `nproc`", "command": "CC=clang CXX=clang++ make debug -C library/unix -j `nproc`",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true