Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Workspace file for KDE Connect for Linux build development using Craft
{
"folders": [
{
"name": "kdeconnect-kde",
"path": "/home/tm9k1/CraftRoot/download/git/kde/applications/kdeconnect-kde",
},
{
"name": "craft-blueprints-kde",
"path": "/home/tm9k1/CraftRoot/etc/blueprints/locations/craft-blueprints-kde",
},
],
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "ONLY KDE C App",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/zsh",
"args": ["-c", "source /home/tm9k1/CraftRoot/build/kde/applications/kdeconnect-kde/work/build/prefix.sh && /home/tm9k1/CraftRoot/bin/kdeconnect-app"],
"cwd": "${fileWorkspaceFolder}",
"preLaunchTask": "Build",
"console": "internalConsole",
"visualizerFile": "/home/tm9k1/CraftRoot/qt5.natvis.xml",
"internalConsoleOptions": "openOnSessionStart",
"requireExactSource": false,
},
{
"name": "ONLY KDE C Daemon",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/zsh",
"args": ["-c", "source /home/tm9k1/CraftRoot/build/kde/applications/kdeconnect-kde/work/build/prefix.sh && /home/tm9k1/CraftRoot/lib/libexec/kdeconnectd --replace"],
"cwd": "${fileWorkspaceFolder}",
"visualizerFile": "/home/tm9k1/CraftRoot/qt5.natvis.xml",
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
"requireExactSource": false,
},
{
"name": "ONLY KDE C Handler",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/zsh",
"args": ["-c", "source /home/tm9k1/CraftRoot/build/kde/applications/kdeconnect-kde/work/build/prefix.sh && /home/tm9k1/CraftRoot/bin/kdeconnect-handler"],
"cwd": "${fileWorkspaceFolder}",
"visualizerFile": "/home/tm9k1/CraftRoot/qt5.natvis.xml",
"preLaunchTask": "Build",
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
},
{
"name": "ONLY KDE C Indicator",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/zsh",
"args": ["-c", "source /home/tm9k1/CraftRoot/build/kde/applications/kdeconnect-kde/work/build/prefix.sh && /home/tm9k1/CraftRoot/bin/kdeconnect-indicator"],
"cwd": "${fileWorkspaceFolder}",
"visualizerFile": "/home/tm9k1/CraftRoot/qt5.natvis.xml",
"preLaunchTask": "Build",
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
},
{
"name": "ONLY KDE C Settings",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/zsh",
"args": ["-c", "source /home/tm9k1/CraftRoot/build/kde/applications/kdeconnect-kde/work/build/prefix.sh && /home/tm9k1/CraftRoot/bin/kdeconnect-settings"],
"cwd": "${fileWorkspaceFolder}",
"visualizerFile": "/home/tm9k1/CraftRoot/qt5.natvis.xml",
"preLaunchTask": "Build",
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
},
{
"name": "ONLY KDE C SMS",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/zsh",
"args": ["-c", "source /home/tm9k1/CraftRoot/build/kde/applications/kdeconnect-kde/work/build/prefix.sh && /home/tm9k1/CraftRoot/bin/kdeconnect-sms"],
"cwd": "${fileWorkspaceFolder}",
"visualizerFile": "/home/tm9k1/CraftRoot/qt5.natvis.xml",
"preLaunchTask": "Build",
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
"requireExactSource": false
},
],
"compounds": [
{
"name": "KDE C App",
"configurations": ["ONLY KDE C App", "ONLY KDE C Daemon"],
"stopAll": true
},
{
"name": "KDE C Daemon",
"configurations": ["ONLY KDE C Daemon"],
"preLaunchTask": "Build"
},
{
"name": "KDE C Handler",
"configurations": ["ONLY KDE C Handler", "ONLY KDE C Daemon"],
"stopAll": true
},
{
"name": "KDE C Indicator",
"configurations": ["ONLY KDE C Indicator", "ONLY KDE C Daemon"],
"stopAll": true
},
{
"name": "KDE C Settings",
"configurations": ["ONLY KDE C Settings", "ONLY KDE C Daemon"],
"stopAll": true
},
{
"name": "KDE C SMS",
"configurations": ["ONLY KDE C SMS", "ONLY KDE C Daemon"],
"stopAll": true
},
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "/home/tm9k1/CraftRoot/dev-utils/bin/python3",
"args": [
"/home/tm9k1/CraftRoot/craft/bin/craft.py",
"--compile",
"--install",
"--qmerge",
"\"$(haha=($(echo ${fileWorkspaceFolder} | sed 's/\\// /g')) ; echo ${haha[-1]})\""
],
"runOptions": {
"reevaluateOnRerun": true,
},
"dependsOn": "Cleanup",
},
{
"label": "Cleanup",
"type": "shell",
"command": "pkill -f \"kdeconnect*\" && return 0",
"args": [],
"runOptions": {
"reevaluateOnRerun": true
}
}
],
},
"settings": {
"[cpp]": {
"editor.wordBasedSuggestions": false,
"editor.suggest.insertMode": "replace",
"editor.semanticHighlighting.enabled": true,
"editor.quickSuggestions": true,
},
"C_Cpp.default.includePath": [
"/home/tm9k1/CraftRoot/include/**",
"/home/tm9k1/CraftRoot/build/**",
"${fileWorkspaceFolder}/**",
],
"C_Cpp.default.defines": [
],
"files.associations": {
"qdebug": "cpp",
"qstandardpaths": "cpp",
"qicon": "cpp",
"qfile": "cpp",
"chrono": "cpp",
"memory": "cpp"
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment