Verified Commit 3e9a0dcd authored by Tobias Frisch's avatar Tobias Frisch
Browse files

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


Signed-off-by: Tobias Frisch's avatarTobias Frisch <tfrisch@uni-koblenz.de>
parent aec9a05f
Pipeline #27600 passed with stages
in 16 minutes and 5 seconds
......@@ -27,25 +27,4 @@ cmake --build .
## How to build with Clang on Archlinux by the way
1. Install required and useful tools to develop:
```
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 .
```
Just follow the steps of "How to build with GCC on Archlinux by the way" but replace `gcc` with `clang` and `g++` with `clang++`.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment