Fixes incorrect frontend path on Windows (#816)

This commit is contained in:
Putta Khunchalee 2024-04-07 22:13:40 +07:00 committed by GitHub
parent 5b7c9d5b00
commit 7c6e23234a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 25 deletions

27
.vscode/launch.json vendored
View file

@ -1,13 +1,13 @@
{
"configurations": [
{
"name": "Debug - Main",
"name": "Frontend",
"type": "lldb",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder}",
"windows": {
"program": "${workspaceFolder}/build/src/Debug/Obliteration.exe",
"program": "${workspaceFolder}/build/src/Obliteration.exe",
"env": {
"Path": "${env:Path};${env:CMAKE_PREFIX_PATH}\\bin"
}
@ -20,7 +20,7 @@
}
},
{
"name": "Debug - Kernel",
"name": "Kernel | Debug",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/src/target/debug/obkrnl",
@ -28,26 +28,7 @@
"cwd": "${workspaceFolder}"
},
{
"name": "Release - Main",
"type": "lldb",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder}",
"windows": {
"program": "${workspaceFolder}/build/src/Release/Obliteration.exe",
"env": {
"Path": "${env:Path};${env:CMAKE_PREFIX_PATH}\\bin"
}
},
"linux": {
"program": "${workspaceFolder}/build/src/obliteration"
},
"osx": {
"program": "${workspaceFolder}/build/src/obliteration.app/Contents/MacOS/obliteration"
}
},
{
"name": "Release - Kernel",
"name": "Kernel | Release",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/src/target/release/obkrnl",

View file

@ -153,8 +153,13 @@ Just follow how Qt is written (e.g. coding style, etc.). Always prefers Qt class
The application consists of 2 binaries:
1. Main application. This is what users will see when they launch Obliteration. Its entry point is inside `src/main.cpp`.
2. Emulator kernel. This is where emulation takes place. Its entry point is inside `src/kernel/src/main.rs`.
#### Frontend
This is what users will see when they launch Obliteration. Its entry point is inside `src/main.cpp`.
#### Kernel
This is where emulation takes place. Its entry point is inside `src/kernel/src/main.rs`.
### Debugging the kernel