Closed njzjz closed 3 years ago
Summary
Currently CMake files don't contain a -O2 or -O3 optimize flag (I am not sure which is better). Maybe we should add it when compiling for production.
-O2
-O3
Detailed Description
Further Information, Files, and Links
By default the CMAKE_BUILD_TYPE is release, by default -O3 is included in CMAKE_BUILD_TYPE_RELEASE, see the link
CMAKE_BUILD_TYPE
release
CMAKE_BUILD_TYPE_RELEASE
Got it.
Summary
Currently CMake files don't contain a
-O2
or-O3
optimize flag (I am not sure which is better). Maybe we should add it when compiling for production.Detailed Description
Further Information, Files, and Links