clang support
This commit is contained in:
@@ -64,4 +64,5 @@ Text04="$dll(hwinfo,1,Vcore,3)V $Right($dll(hwinfo,1,Average Effective Clock,a)M
|
||||
|
||||
### Additional notes
|
||||
|
||||
- To read motherboard sensors on ASUS ROG STRIX B550-A GAMING, as of Linux 6.16 you need to booth with kernel parameter of `acpi_enforce_resources=lax`. On Fedora it can be added by appending it to `/etc/kernel/cmdline`.
|
||||
- To read motherboard sensors on ASUS ROG STRIX B550-A GAMING, as of Linux 6.16 you need to booth with kernel parameter of `acpi_enforce_resources=lax`. On Fedora it can be added by appending it to `/etc/kernel/cmdline`.
|
||||
- `compile_commands.json` is so clang understands this project, so we can edit it with helix/neovim. Generated with `bear -- make`, make sure to run `make clean` beforehand.
|
||||
|
||||
98
compile_commands.json
Normal file
98
compile_commands.json
Normal file
@@ -0,0 +1,98 @@
|
||||
[
|
||||
{
|
||||
"arguments": [
|
||||
"/usr/sbin/g++",
|
||||
"-std=c++2c",
|
||||
"-fdiagnostics-color=always",
|
||||
"-Iinclude",
|
||||
"-O2",
|
||||
"-c",
|
||||
"-o",
|
||||
"src/utils.o",
|
||||
"src/utils.cpp"
|
||||
],
|
||||
"directory": "/home/drath/git/linuxSmartie",
|
||||
"file": "/home/drath/git/linuxSmartie/src/utils.cpp",
|
||||
"output": "/home/drath/git/linuxSmartie/src/utils.o"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
"/usr/sbin/g++",
|
||||
"-std=c++2c",
|
||||
"-fdiagnostics-color=always",
|
||||
"-Iinclude",
|
||||
"-O2",
|
||||
"-c",
|
||||
"-o",
|
||||
"src/gpu.o",
|
||||
"src/gpu.cpp"
|
||||
],
|
||||
"directory": "/home/drath/git/linuxSmartie",
|
||||
"file": "/home/drath/git/linuxSmartie/src/gpu.cpp",
|
||||
"output": "/home/drath/git/linuxSmartie/src/gpu.o"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
"/usr/sbin/g++",
|
||||
"-std=c++2c",
|
||||
"-fdiagnostics-color=always",
|
||||
"-Iinclude",
|
||||
"-O2",
|
||||
"-c",
|
||||
"-o",
|
||||
"src/LCDDisplay.o",
|
||||
"src/LCDDisplay.cpp"
|
||||
],
|
||||
"directory": "/home/drath/git/linuxSmartie",
|
||||
"file": "/home/drath/git/linuxSmartie/src/LCDDisplay.cpp",
|
||||
"output": "/home/drath/git/linuxSmartie/src/LCDDisplay.o"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
"/usr/sbin/g++",
|
||||
"-std=c++2c",
|
||||
"-fdiagnostics-color=always",
|
||||
"-Iinclude",
|
||||
"-O2",
|
||||
"-c",
|
||||
"-o",
|
||||
"src/cpu.o",
|
||||
"src/cpu.cpp"
|
||||
],
|
||||
"directory": "/home/drath/git/linuxSmartie",
|
||||
"file": "/home/drath/git/linuxSmartie/src/cpu.cpp",
|
||||
"output": "/home/drath/git/linuxSmartie/src/cpu.o"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
"/usr/sbin/g++",
|
||||
"-std=c++2c",
|
||||
"-fdiagnostics-color=always",
|
||||
"-Iinclude",
|
||||
"-O2",
|
||||
"-c",
|
||||
"-o",
|
||||
"src/hass.o",
|
||||
"src/hass.cpp"
|
||||
],
|
||||
"directory": "/home/drath/git/linuxSmartie",
|
||||
"file": "/home/drath/git/linuxSmartie/src/hass.cpp",
|
||||
"output": "/home/drath/git/linuxSmartie/src/hass.o"
|
||||
},
|
||||
{
|
||||
"arguments": [
|
||||
"/usr/sbin/g++",
|
||||
"-std=c++2c",
|
||||
"-fdiagnostics-color=always",
|
||||
"-Iinclude",
|
||||
"-O2",
|
||||
"-c",
|
||||
"-o",
|
||||
"src/sys.o",
|
||||
"src/sys.cpp"
|
||||
],
|
||||
"directory": "/home/drath/git/linuxSmartie",
|
||||
"file": "/home/drath/git/linuxSmartie/src/sys.cpp",
|
||||
"output": "/home/drath/git/linuxSmartie/src/sys.o"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user