Added build instructions for Fedora

This commit is contained in:
OmniaX-Dev 2024-09-06 02:56:19 +02:00
parent af2eff4ce3
commit efe39a6e3d
5 changed files with 34 additions and 19 deletions

View file

@ -3,34 +3,24 @@
{
"name": "Linux",
"includePath": [
"${default}",
"${workspaceRoot}/src/vendor/GLAD",
"${workspaceRoot}/src/vendor",
"${workspaceRoot}/src/ostd",
"${workspaceRoot}/src"
"${default}"
],
"defines": [],
"compilerPath": "/usr/bin/clang++",
"cStandard": "c17",
"cppStandard": "c++20",
"intelliSenseMode": "linux-clang-x64"
//"compileCommands": "${workspaceFolder}/compile_commands.json"
},
{
"name": "Windows",
"includePath": [
"${default}",
"${workspaceRoot}/src/vendor/GLAD",
"${workspaceRoot}/src/vendor",
"${workspaceRoot}/src/ostd",
"${workspaceRoot}/src"
"${default}"
],
"defines": [],
"compilerPath": "C:\\msys64\\ucrt64\\bin\\clang++",
"cStandard": "c17",
"cppStandard": "c++20",
"intelliSenseMode": "windows-clang-x64"
//"compileCommands": "${workspaceFolder}/compile_commands.json"
}
],
"version": 4

10
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,10 @@
{
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"aramok.aramoks-black",
"ms-vscode.cpptools",
"ms-vscode.hexeditor",
"PKief.material-icon-theme",
"wayou.vscode-todo-highlight"
]
}

12
.vscode/settings.json vendored
View file

@ -160,15 +160,15 @@
"breadcrumbs.enabled": false,
"workbench.tree.enableStickyScroll": false,
"cmake.configureOnOpen": false,
"cmake.options.statusBarVisibility": "hidden",
"git.openRepositoryInParentFolders": "never",
"python.languageServer": "None",
"files.eol": "\r\n",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Aramok's GLX Black"
"workbench.colorTheme": "Aramok's GLX Black",
"python.languageServer": "None",
"cmake.configureOnOpen": false,
"cmake.options.statusBarVisibility": "hidden"
}

View file

@ -36,6 +36,7 @@ open a terminal inside the root directory of the project and run this command:
```
./compile
```
## Build instructions - Linux (Ubuntu)
**Step 1:**
open a terminal and run:
@ -50,4 +51,18 @@ open a terminal inside the root directory of the project and run this command:
./compile
```
## Build instructions - Linux (Fedora)
**Step 1:**
open a terminal and run:
```
sudo dnf update
sudo dnf install gcc gcc-c++ make clang gdb cmake clang-tools-extra boost boost-devel openssl openssl-devel SDL2 SDL2_image SDL2_mixer SDL2_ttf SDL2_gfx SDL2-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel SDL2_gfx-devel
```
**Step 2:**
open a terminal inside the root directory of the project and run this command:
```
./compile
```
#### For other Linux distros, install the dependencies using your package manager.

View file

@ -1 +1 @@
1872
1874