Skip to content

Commit

Permalink
Changed switch PR3 to PR1 to support TRPL closure
Browse files Browse the repository at this point in the history
  • Loading branch information
ezhilsabareesh8 committed Nov 7, 2023
1 parent 3bf6093 commit 297bbc0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions WW3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Global definitions, flags, etc

## List of switches
list(APPEND switches "CESMCOUPLED" "NCO" "DIST" "MPI" "PR3" "UQ" "FLX4" "SEED" "ST6" "STAB0" "NL1" "BT1" "DB1" "MLIM" "TR0" "BS0" "RWND" "WNX1" "WNT1" "CRX1" "CRT1" "O0" "O1" "O2" "O3" "O4" "O5" "O6" "O7" "O14" "O15" "IS0" "REF0" "NOGRB" "IC0")
list(APPEND switches "CESMCOUPLED" "NCO" "DIST" "MPI" "PR1" "FLX4" "ST6" "STAB0" "LN1" "NL1" "BT1" "DB1" "MLIM" "TR0" "BS0" "RWND" "WNX1" "WNT1" "CRX1" "CRT1" "O0" "O1" "O2" "O3" "O4" "O5" "O6" "O7" "O14" "O15" "IS0" "REF0" "NOGRB" "IC0")

## Global compile definitions
foreach(switch ${switches})
Expand Down Expand Up @@ -135,17 +135,17 @@ set_target_properties(OM3_ww3_ounf PROPERTIES
)
target_link_libraries(OM3_ww3_ounf PRIVATE OM3_ww3)

# ww3_outp
add_executable(OM3_ww3_outp WW3/model/src/ww3_outp.F90)
set_target_properties(OM3_ww3_outp PROPERTIES
# ww3_ounp
add_executable(OM3_ww3_ounp WW3/model/src/ww3_ounp.F90)
set_target_properties(OM3_ww3_ounp PROPERTIES
LINKER_LANGUAGE Fortran
OUTPUT_NAME ww3_outp
OUTPUT_NAME ww3_ounp
)
target_link_libraries(OM3_ww3_outp PRIVATE OM3_ww3)
target_link_libraries(OM3_ww3_ounp PRIVATE OM3_ww3)


## Installs
if(OM3_BIN_INSTALL)
install(TARGETS OM3_ww3_grid OM3_ww3_strt OM3_ww3_ounf OM3_ww3_outp
install(TARGETS OM3_ww3_grid OM3_ww3_strt OM3_ww3_ounf OM3_ww3_ounp
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()

0 comments on commit 297bbc0

Please sign in to comment.