Skip to content

Commit

Permalink
Refactor updated setup_exportdata() (NOAA-EMC#301) to work
Browse files Browse the repository at this point in the history
with chemistry and other coupled components that
don't require cplflx set to .true.. Fortran
preprocessor macros are introduced to minimize
code replication.
  • Loading branch information
rmontuoro committed May 23, 2021
1 parent 0ec3000 commit ab94e52
Show file tree
Hide file tree
Showing 8 changed files with 632 additions and 932 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ list(APPEND _fv3atm_defs_private GFS_PHYS
target_compile_definitions(fv3atm PRIVATE "${_fv3atm_defs_private}")

set_target_properties(fv3atm PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(fv3atm PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_include_directories(fv3atm INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
$<INSTALL_INTERFACE:mod>)

Expand Down
Loading

0 comments on commit ab94e52

Please sign in to comment.