1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Remove the mention of setting CC, not needed anymore

Michał Janiszewski
2019-01-04 21:38:24 +01:00
parent aa5ef9d4f0
commit 9e0600564f

@@ -145,12 +145,12 @@ ln -s ../data data
```
### Clang
Building with clang works the same way as building with GCC, you just need to change the CC and CXX environment variables. Keep in mind, that you need to have an empty build directory as cmake will not switch compilers after it has already generated a Makefile.
Building with clang works the same way as building with GCC, you just need to change the CXX environment variable. Keep in mind, that you need to have an empty build directory as cmake will not switch compilers after it has already generated a Makefile.
```
mkdir build && cd build
export CC=$(which clang)
export CXX=$(which clang++)
# OpenRCT2 is purely a C++ project, there's no need to set CC
cmake ..
make
```