Moved back to microslop's c cpp extension...

This commit is contained in:
Ulysse Cura 2026-09-23 18:46:24 +02:00
parent 96fbb318c0
commit c737cf2f86
9 changed files with 72 additions and 61 deletions

3
.ccls
View File

@ -1,3 +0,0 @@
gcc
# Macros
-DDEBUG=2

33
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,33 @@
{
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "linux-gcc-arm",
"includePath": [
"${workspaceFolder}/src",
"${workspaceFolder}/src/components",
"${workspaceFolder}/core",
"${workspaceFolder}/core/host/generic",
"/usr/include/lua5.4",
"/usr/include/pipewire-0.3",
"/usr/include/spa-0.2",
"/usr/include/libdrm",
"/usr/include/libdecor-0",
"/usr/include/x86_64-linux-gnu"
],
"compilerPath": "/usr/bin/gcc",
"defines": [
"-D_REENTRANT"
],
"cStandard": "c17",
"browse": {
"path": [
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 4
}

9
.vscode/launch.json vendored
View File

@ -4,14 +4,5 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "gdb",
"request": "launch",
"target": "${workspaceFolder}/build/linux/2D_Engine",
"cwd": "${workspaceFolder}/build/linux",
"valuesFormatting": "parseText",
"preLaunchTask": "Build"
}
]
}

View File

@ -1,11 +1,7 @@
{
"nixEnvSelector.suggestion": false,
"nixEnvSelector.nixFile": "${workspaceFolder}/shell.nix",
"nixEnvSelector.useFlakes": false,
"files.associations": {
"*.tsx": "xml",
"*.map": "json",
"configure": "shellscript"
"configure": "shellscript",
}
}

57
.vscode/tasks.json vendored
View File

@ -54,6 +54,25 @@
"clear": true
}
},
{
"label": "Run",
"detail": "Build project and run",
"type": "shell",
"command": "make",
"args": [
"-j$(nproc)",
"run"
],
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": true
}
},
{
"label": "Build Verbose",
"detail": "Build project with verbosity on",
@ -72,6 +91,25 @@
"clear": true
}
},
{
"label": "Build Debug",
"detail": "Build project in debug mode",
"type": "shell",
"command": "make",
"args": [
"-j$(nproc)",
"DEBUG=2"
],
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": true
}
},
{
"label": "Run Debug",
"detail": "Build project in debug mode and run",
@ -91,25 +129,6 @@
"showReuseMessage": true,
"clear": true
}
},
{
"label": "Build Debug",
"detail": "Build project in debug mode",
"type": "shell",
"command": "make",
"args": [
"-j$(nproc)",
"DEBUG=2"
],
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": true
}
}
]
}

View File

@ -1,7 +0,0 @@
gcc
# Headers
-Iassets/asset_builder/src/headers
-Isrc/components
# Macros
-DDEBUG=2

View File

@ -1,8 +0,0 @@
gcc
# Headers
-Icore
-Icore/host/generic
-Isrc/components
# Macros
-DASSET_FILE_NAME="$(make print-var-ASSET_OUTPUT)"

View File

@ -1,5 +0,0 @@
gcc
# Headers
-Icore
-Icore/host/linux
-Isrc/components

View File

@ -1,5 +0,0 @@
gcc
# Headers
-Isrc/components
-Icore
-Icore/host/generic