Skip to content

Commit

Permalink
[update] CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
yymmt742 committed Jun 4, 2024
1 parent ca50cf9 commit a4f47b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ macro(ADDTEST name)
$<$<CONFIG:Debug>:$<$<COMPILE_LANG_AND_ID:Fortran,Intel>:-debug>>
$<$<CONFIG:Debug>:$<$<COMPILE_LANG_AND_ID:Fortran,Intel>:-warn all>>
)
elseif(WIN32)
target_compile_options(
test_${name}
PRIVATE
$<$<COMPILE_LANG_AND_ID:Fortran,IntelLLVM>:/free>
$<$<CONFIG:Debug>:$<$<COMPILE_LANG_AND_ID:Fortran,IntelLLVM>:/traceback>>
$<$<CONFIG:Debug>:$<$<COMPILE_LANG_AND_ID:Fortran,IntelLLVM>:/debug:full>>
$<$<COMPILE_LANG_AND_ID:Fortran,Intel>:/free>
$<$<CONFIG:Debug>:$<$<COMPILE_LANG_AND_ID:Fortran,Intel>:/traceback>>
$<$<CONFIG:Debug>:$<$<COMPILE_LANG_AND_ID:Fortran,Intel>:/debug:full>>
)
endif()
add_test(NAME ${name} COMMAND $<TARGET_FILE:test_${name}>)
endmacro(ADDTEST)
Expand Down

0 comments on commit a4f47b3

Please sign in to comment.