Skip to content
Snippets Groups Projects
Verified Commit 1635ba6d 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
No related merge requests found
Pipeline #27599 passed
......@@ -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 .
```
Follow the steps of "How to build with GCC on Archlinux by the way" but replace "gcc" with "clang" and "g++" with "clang++" - that's it!
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