Skip to content

Commit

Permalink
more intel options
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Feb 8, 2024
1 parent d4cec55 commit 231dbfb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/compilers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@ endif()
if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-Wall>)
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-warn>)
add_compile_options(
"$<$<COMPILE_LANGUAGE:Fortran>:-warn>"
"$<$<CONFIG:Debug,RelWithDebInfo>:-check;-traceback>"
"$<$<CONFIG:Debug>:-Rno-debug-disables-optimization>"
)
endif()

0 comments on commit 231dbfb

Please sign in to comment.