From 1de3942378d555dcb6a6857f3428164c5dedd32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 22 Feb 2018 21:29:11 +0100 Subject: [PATCH] Updated Building OpenRCT2 on Linux (markdown) --- Building-OpenRCT2-on-Linux.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Building-OpenRCT2-on-Linux.md b/Building-OpenRCT2-on-Linux.md index 7e36159..c858443 100644 --- a/Building-OpenRCT2-on-Linux.md +++ b/Building-OpenRCT2-on-Linux.md @@ -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.