Formatting tweaks to improve readability
This commit is contained in:
parent
7ee3419f2b
commit
b7f809bf3a
20
README.md
20
README.md
@ -41,17 +41,17 @@ There are two methods for modifying the compiler optimization level.
|
|||||||
|
|
||||||
Option 1 (best approach): set the CMAKE_CXX_FLAGS_RELEASE environment variable then run cmake
|
Option 1 (best approach): set the CMAKE_CXX_FLAGS_RELEASE environment variable then run cmake
|
||||||
|
|
||||||
For full optimization:
|
For full optimization:
|
||||||
bash users:
|
bash users:
|
||||||
% export CMAKE_CXX_FLAGS_RELEASE="-O3"
|
% export CMAKE_CXX_FLAGS_RELEASE="-O3"
|
||||||
csh users:
|
csh users:
|
||||||
% setenv CMAKE_CXX_FLAGS_RELEASE "-O3"
|
% setenv CMAKE_CXX_FLAGS_RELEASE "-O3"
|
||||||
|
|
||||||
For no optimization:
|
For no optimization:
|
||||||
bash users:
|
bash users:
|
||||||
% export CMAKE_CXX_FLAGS_RELEASE="-O0"
|
% export CMAKE_CXX_FLAGS_RELEASE="-O0"
|
||||||
csh users:
|
csh users:
|
||||||
% setenv CMAKE_CXX_FLAGS_RELEASE "-O0"
|
% setenv CMAKE_CXX_FLAGS_RELEASE "-O0"
|
||||||
|
|
||||||
|
|
||||||
Option 2 (works but not preferred): uncomment one of the following two lines then run/rerun cmake:
|
Option 2 (works but not preferred): uncomment one of the following two lines then run/rerun cmake:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user