Skip to content

Commit 86c27af

Browse files
committed
Merge branch 'pagedvector'
2 parents 0aea1ba + d30e4d2 commit 86c27af

File tree

2 files changed

+574
-92
lines changed

2 files changed

+574
-92
lines changed

benchmarks/automatic/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ if (ENABLE_OPTIMIZATIONS)
3030
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
3131
target_compile_options(benchmarks PRIVATE -DTBB_ENABLE_IPO=off -march=native -mavx2 -O3 -ffast-math)
3232
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
33-
target_compile_options(benchmarks PRIVATE /O2 /fp:fast)
33+
target_compile_options(benchmarks PRIVATE
34+
$<$<CONFIG:Debug>:/Od /Zi /D_DEBUG>
35+
)
36+
target_compile_options(benchmarks PRIVATE
37+
$<$<CONFIG:Release>: /O2 /fp:fast>
38+
)
3439
endif()
3540
endif()

0 commit comments

Comments
 (0)