From 07a37561b9317a26b73a4eac59411e191e12c999 Mon Sep 17 00:00:00 2001 From: Aastha Bist Date: Sun, 3 Nov 2019 11:22:13 +0530 Subject: [PATCH] Updated Building for Linux (markdown) --- Building-for-Linux.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Building-for-Linux.md b/Building-for-Linux.md index 0f95174..026f149 100644 --- a/Building-for-Linux.md +++ b/Building-for-Linux.md @@ -49,7 +49,8 @@ The `--recursive` option automatically clones the required Git submodules too. **Using gcc:** ``` -mkdir build && cd build +mkdir build +cd build cmake ../ make sudo make install (optional) @@ -63,7 +64,8 @@ Optionally, you can use "cmake -i .." to adjust various options (e.g. disable th Note: It is important you use libc++, otherwise your build will likely fail: ``` -mkdir build && cd build +mkdir build +cd build cmake -DCMAKE_CXX_COMPILER=clang++-5.0 \ -DCMAKE_C_COMPILER=clang-5.0 \ -DCMAKE_CXX_FLAGS="-O2 -g -stdlib=libc++" .. @@ -74,7 +76,8 @@ sudo make install (optional) ### Building Citra in Release Mode (Optimized): ``` -mkdir build && cd build +mkdir build +cd build cmake .. -DCMAKE_BUILD_TYPE=Release make sudo make install (optional) @@ -84,7 +87,8 @@ sudo make install (optional) ### Building with debug symbols: ``` -mkdir build && cd build +mkdir build +cd build cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo make sudo make install (optional)