Skip to content
Snippets Groups Projects
Verified Commit 3e9a0dcd authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#19] Adjusted build details for clang to be more accurate

parent aec9a05f
No related branches found
No related tags found
1 merge request!102Resolve "Weitere Informationen hinzufügen zu Readme.md"
Pipeline #27600 passed
...@@ -27,25 +27,4 @@ cmake --build . ...@@ -27,25 +27,4 @@ cmake --build .
## How to build with Clang on Archlinux by the way ## How to build with Clang on Archlinux by the way
1. Install required and useful tools to develop: Just follow the steps of "How to build with GCC on Archlinux by the way" but replace `gcc` with `clang` and `g++` with `clang++`.
```
sudo pacman -S cmake clang vulkan-icd-loader vulkan-headers vulkan-validation-layers vulkan-tools
```
2. Install the matching Vulkan drivers for your system:
```
# For discrete Nvidia GPUs:
sudo pacman -S nvidia
# For integrated or discrete Radeon GPUs:
sudo pacman -S vulkan-radeon
# For integrated or discrete Intel GPUs:
sudo pacman -S vulkan-intel
```
3. Clone the repository and run the following commands:
```
mkdir debug
cd debug
cmake -DCMAKE_C_COMPILER="/usr/bin/clang" -DCMAKE_CXX_COMPILER="/usr/bin/clang++" -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment