vscode: Update the workspace files

Now autogenerated from CMakePresets.json.
Added the Qt6 one too.
This commit is contained in:
Sergio Martins
2021-01-16 19:40:36 +00:00
parent 107d4e973c
commit 8dfad1c910
4 changed files with 128 additions and 90 deletions

View File

@@ -113,6 +113,8 @@
"CMAKE_BUILD_TYPE": "Debug",
"KDDockWidgets_QT6": "ON",
"KDDockWidgets_DEVELOPER_MODE": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS" : "ON",
"KDDockWidgets_UNITY_BUILD" : "OFF",
"ECM_ENABLE_SANITIZERS" : "'address;undefined'"
},
"environment": {

View File

@@ -1,48 +1,42 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"files.associations": {
"qevent": "cpp",
"qvector": "cpp"
},
"C_Cpp.default.compileCommands" : "${workspaceFolder}/build-dev-qtquick/compile_commands.json",
"C_Cpp.default.cStandard": "c17",
"C_Cpp.default.intelliSenseMode": "gcc-x64",
"files.trimTrailingWhitespace": true
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cmake",
"command": "cmake",
"args": ["--preset=dev-qtquick"],
"options": {
"cwd": "${workspaceFolder}/",
},
"problemMatcher": [
"$gcc"
],
"group": "build"
},
{
"type": "shell",
"label": "make",
"command": "cmake",
"args": ["--build", "${workspaceFolder}/build-dev-qtquick"],
"options": {
"cwd": "${workspaceFolder}/",
},
"problemMatcher": [
"$gcc"
],
"group": "build"
}
]
"folders": [
{
"path": "."
}
],
"settings": {
"C_Cpp.default.compileCommands": "${workspaceFolder}/build-dev-qtquick/compile_commands.json",
"C_Cpp.default.cStandard": "c17",
"files.trimTrailingWhitespace": true
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cmake",
"command": "cmake",
"args": [
"--preset=dev-qtquick"
],
"options": {
"cwd": "${workspaceFolder}/"
},
"group": "build"
},
{
"type": "shell",
"label": "make",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/build-dev-qtquick"
],
"options": {
"cwd": "${workspaceFolder}/"
},
"group": "build"
}
]
}
}

View File

@@ -1,48 +1,42 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"files.associations": {
"qevent": "cpp",
"qvector": "cpp"
},
"C_Cpp.default.compileCommands" : "${workspaceFolder}/build-dev-qtwidgets/compile_commands.json",
"C_Cpp.default.cStandard": "c17",
"C_Cpp.default.intelliSenseMode": "gcc-x64",
"files.trimTrailingWhitespace": true
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cmake",
"command": "cmake",
"args": ["--preset=dev-qtwidgets"],
"options": {
"cwd": "${workspaceFolder}/",
},
"problemMatcher": [
"$gcc"
],
"group": "build"
},
{
"type": "shell",
"label": "make",
"command": "cmake",
"args": ["--build", "${workspaceFolder}/build-dev-qtwidgets"],
"options": {
"cwd": "${workspaceFolder}/",
},
"problemMatcher": [
"$gcc"
],
"group": "build"
}
]
"folders": [
{
"path": "."
}
],
"settings": {
"C_Cpp.default.compileCommands": "${workspaceFolder}/build-dev-qtwidgets/compile_commands.json",
"C_Cpp.default.cStandard": "c17",
"files.trimTrailingWhitespace": true
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cmake",
"command": "cmake",
"args": [
"--preset=dev-qtwidgets"
],
"options": {
"cwd": "${workspaceFolder}/"
},
"group": "build"
},
{
"type": "shell",
"label": "make",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/build-dev-qtwidgets"
],
"options": {
"cwd": "${workspaceFolder}/"
},
"group": "build"
}
]
}
}

View File

@@ -0,0 +1,48 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"C_Cpp.default.compileCommands": "${workspaceFolder}/build-dev-qtwidgets6/compile_commands.json",
"C_Cpp.default.cStandard": "c17",
"files.trimTrailingWhitespace": true
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cmake",
"command": "cmake",
"args": [
"--preset=dev-qtwidgets6"
],
"options": {
"cwd": "${workspaceFolder}/"
},
"group": "build",
"problemMatcher": [
"$gcc"
]
},
{
"type": "shell",
"label": "make",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/build-dev-qtwidgets6"
],
"options": {
"cwd": "${workspaceFolder}/"
},
"group": "build",
"problemMatcher": [
"$gcc"
]
}
]
}
}