You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d0ec6fd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sadly needs CMake 3.1, with 3.0 you can use add_compile_options though, and before that add_definitions to set flags.
I also made useful .cmake here https://github.com/Cloudef/orbment/blob/master/CMake/GCCCompatibleCompilerOptions.cmake
Example of how to use here:
https://github.com/Cloudef/orbment/blob/master/CMakeLists.txt#L22-L32
The optimization flags can be enabled with -DCMAKE_BUILD_TYPE=Upstream for example.