feat(performance): add single-run timing and optimized symbol builds

This commit is contained in:
KOKO\Mimi
2026-10-14 12:31:08 +09:00
parent 560ccf8e6b
commit bf512d137c
4 changed files with 596 additions and 0 deletions
+9
View File
@@ -131,6 +131,15 @@ target_compile_options(
$<$<CXX_COMPILER_ID:MSVC>:/W4 /WX /EHsc>
)
# Profile the optimized production build with the same binary used for timing.
foreach(_fesa_target fesa_solver fesa_cli)
target_compile_options(${_fesa_target} PRIVATE
$<$<AND:$<CXX_COMPILER_ID:MSVC>,$<CONFIG:Release>>:/Zi>)
endforeach()
target_link_options(fesa_cli PRIVATE
$<$<AND:$<CXX_COMPILER_ID:MSVC>,$<CONFIG:Release>>:/DEBUG /OPT:REF /OPT:ICF>)
unset(_fesa_target)
if(WIN32)
if(NOT TARGET MKL::mkl_intel_thread OR NOT TARGET MKL::mkl_core OR
NOT OMP_DLL_DIR OR NOT OMP_DLLNAME)