Updated Building for Linux (markdown)

N00byKing 2018-04-10 19:01:29 +02:00
parent 94085df7de
commit 417881c7ba

@ -54,8 +54,7 @@ Note: It is important you use libc++ vs. , otherwise your build will likely fail
mkdir build && cd build mkdir build && cd build
cmake -DCMAKE_CXX_COMPILER=clang++-3.8 \ cmake -DCMAKE_CXX_COMPILER=clang++-3.8 \
-DCMAKE_C_COMPILER=clang-3.8 \ -DCMAKE_C_COMPILER=clang-3.8 \
-DCMAKE_CXX_FLAGS="-O2 -g -stdlib=libc++" \ -DCMAKE_CXX_FLAGS="-O2 -g -stdlib=libc++" ..
-DUSE_SYSTEM_CURL=1 ..
make make
sudo make install (currently doesn't work, needs to be fixed) sudo make install (currently doesn't work, needs to be fixed)
``` ```
@ -80,7 +79,7 @@ do `sudo apt-get install libc++abi-dev && sudo ln -s /usr/include/libcxxabi/__cx
``` ```
mkdir build && cd build mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_CURL=1 cmake .. -DCMAKE_BUILD_TYPE=Release
make make
sudo make install (currently doesn't work, needs to be fixed) sudo make install (currently doesn't work, needs to be fixed)
``` ```
@ -88,7 +87,7 @@ sudo make install (currently doesn't work, needs to be fixed)
### Building with debug symbols: ### Building with debug symbols:
``` ```
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_SYSTEM_CURL=1 cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
make make
``` ```