mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 17:42:29 +01:00
Updated Building OpenRCT2 on Linux (markdown)
@@ -110,7 +110,7 @@ You can copy more of required data to possibly improve your experience.
|
||||
|
||||
```
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
cmake .. # remember to set your build flags, e.g. -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
make
|
||||
```
|
||||
|
||||
@@ -139,11 +139,6 @@ Just symlink the `data` directory in the current `build` directory
|
||||
ln -s ../data data
|
||||
```
|
||||
|
||||
Keep in mind this will produce unoptimised build, unless you specify proper `CMAKE_BUILD_TYPE`, e.g.
|
||||
```
|
||||
cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO ..
|
||||
```
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user