From 8caebdd23d6d79e16ea070d37f54ede2db2a3098 Mon Sep 17 00:00:00 2001 From: Earle Lowe <30607889+emlowe@users.noreply.github.com> Date: Wed, 5 Feb 2025 13:02:31 -0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Amine Khaldi --- CMakeLists.txt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 656b461de..1d05723f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,13 +77,18 @@ ENDIF () add_library(fse ${FSE_FILES}) IF (MSVC) -add_compile_options("$<$:/O2 /Oy>") -add_compile_options("$<$:/Ob1>") -add_compile_options(/Zi) +add_compile_options( + "$<$:/O2 /Oy>" + "$<$:/Ob1>" + /Zi +) ELSE() -add_compile_options("$<$:-Og>") -add_compile_options("$<$:-O3>") -add_compile_options(-Wall -g) +add_compile_options( + "$<$:-Og>" + "$<$:-O3>" + -Wall + -g +) ENDIF() IF (CMAKE_BUILD_TYPE STREQUAL "ASAN")