Skip to content

Commit 6a96dd7

Browse files
authored
Update CMakeLists.txt
1 parent 8937245 commit 6a96dd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
124124
add_compile_options(
125125
$<$<COMPILE_LANGUAGE:Fortran>:-fprofile-arcs>
126126
$<$<COMPILE_LANGUAGE:Fortran>:-ftest-coverage>
127+
$<$<COMPILE_LANGUAGE:Fortran>:-O0>
127128
)
128129

129130
add_link_options(
@@ -360,6 +361,8 @@ macro(HANDLE_SOURCES target useCommon)
360361
-D chemistry=False
361362
--line-numbering
362363
--no-folding
364+
--line-length=999
365+
--line-numbering-mode=nocontlines
363366
"${fpp}" "${f90}"
364367
DEPENDS "${fpp};${${target}_incs}"
365368
COMMENT "Preprocessing (Fypp) ${fpp_filename}"

0 commit comments

Comments
 (0)