From 757523c3b309eebad9bbb5130c6d4003260f354e Mon Sep 17 00:00:00 2001 From: Aleksey Komarov Date: Sat, 22 Sep 2018 12:30:11 +0300 Subject: [PATCH] add more cmake options to build-linux.txt --- doc/howto/build-linux.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/howto/build-linux.txt b/doc/howto/build-linux.txt index 2d93f9d7bc2..b1b7b1d3247 100644 --- a/doc/howto/build-linux.txt +++ b/doc/howto/build-linux.txt @@ -25,9 +25,15 @@ git submodule update --init --recursive rm -rf Externals/cryptopp/* mkdir bin && cd bin cmake .. -(or CC=clang CXX=clang++ cmake ..) make +#To enable all instruction for the local machine: +CFLAGS="-march=native" CXXFLAGS="-march=native" cmake .. +#To enable debugging: +cmake .. -DCMAKE_BUILD_TYPE=Debug +#To use clang: +CC=clang CXX=clang++ cmake .. + Libraries (OLD LIST !!! ): ------ To build X-Ray Engine you'll need following libraries: