| 1 | |
| 2 | |
| 3 | |
| 4 | # of modifying this function. |
| 5 | function(APPLY_STANDARD_SETTINGS TARGET) |
| 6 | target_compile_features(${TARGET} PUBLIC cxx_std_14) |
| 7 | - target_compile_options(${TARGET} PRIVATE -Wall -Werror) |
| 8 | + target_compile_options(${TARGET} PRIVATE -Wall) |
| 9 | target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>") |
| 10 | target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>") |
| 11 | endfunction() |