Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
  • Loading branch information
emlowe and AmineKhaldi authored Feb 5, 2025
1 parent a5bc252 commit 8caebdd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,18 @@ ENDIF ()
add_library(fse ${FSE_FILES})

IF (MSVC)
add_compile_options("$<$<CONFIG:Release>:/O2 /Oy>")
add_compile_options("$<$<CONFIG:Debug>:/Ob1>")
add_compile_options(/Zi)
add_compile_options(
"$<$<CONFIG:Release>:/O2 /Oy>"
"$<$<CONFIG:Debug>:/Ob1>"
/Zi
)
ELSE()
add_compile_options("$<$<CONFIG:Debug>:-Og>")
add_compile_options("$<$<CONFIG:Release>:-O3>")
add_compile_options(-Wall -g)
add_compile_options(
"$<$<CONFIG:Debug>:-Og>"
"$<$<CONFIG:Release>:-O3>"
-Wall
-g
)
ENDIF()

IF (CMAKE_BUILD_TYPE STREQUAL "ASAN")
Expand Down

0 comments on commit 8caebdd

Please sign in to comment.