Added build instructions for Fedora
This commit is contained in:
parent
af2eff4ce3
commit
efe39a6e3d
5 changed files with 34 additions and 19 deletions
14
.vscode/c_cpp_properties.json
vendored
14
.vscode/c_cpp_properties.json
vendored
|
|
@ -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
10
.vscode/extensions.json
vendored
Normal 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
12
.vscode/settings.json
vendored
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
15
README.md
15
README.md
|
|
@ -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.
|
||||
2
build.nr
2
build.nr
|
|
@ -1 +1 @@
|
|||
1872
|
||||
1874
|
||||
|
|
|
|||
Loading…
Reference in a new issue