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
Currently, the compile options are set via CMAKE_CXX_FLAGS.
In modern CMake, this should be replaced by either providing compiler-specific presets or at least setting it only for the desired targets.
In order to avoid duplication, they could be stored in a variable which are then used via target_compile_options for each target.
The text was updated successfully, but these errors were encountered:
Currently, the compile options are set via
CMAKE_CXX_FLAGS
.In modern CMake, this should be replaced by either providing compiler-specific presets or at least setting it only for the desired targets.
In order to avoid duplication, they could be stored in a variable which are then used via
target_compile_options
for each target.The text was updated successfully, but these errors were encountered: