Hi
Intel compiler has an compile option flag that generates a vectorization report txt file.
I am looking for tips on how to set this as an global option and put the report for each Cmake generated sub directories “CMakeFiles” .
In my project each lib/exe target has own cmakelist file.
Below works, but i want to set it globally as an option and put each report in the CmakeFiles folders.
target_compile_options(lib/exec PRIVATE(
$<$<AND:$<COMPILE_LANG_AND_ID:CXX,IntelLLVM>,$<CONFIG:RelWithDebInfo>>:-qopt-report=3 -qopt-report-file=${what directory?}compiler_opt_report.txt>
)