Skip to content

Commit 757523c

Browse files
committed
add more cmake options to build-linux.txt
1 parent eaedc1c commit 757523c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/howto/build-linux.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,15 @@ git submodule update --init --recursive
2525
rm -rf Externals/cryptopp/*
2626
mkdir bin && cd bin
2727
cmake ..
28-
(or CC=clang CXX=clang++ cmake ..)
2928
make
3029

30+
#To enable all instruction for the local machine:
31+
CFLAGS="-march=native" CXXFLAGS="-march=native" cmake ..
32+
#To enable debugging:
33+
cmake .. -DCMAKE_BUILD_TYPE=Debug
34+
#To use clang:
35+
CC=clang CXX=clang++ cmake ..
36+
3137
Libraries (OLD LIST !!! ):
3238
------
3339
To build X-Ray Engine you'll need following libraries:

0 commit comments

Comments
 (0)