Skip to content

Commit

Permalink
Merge pull request NOAA-EMC#84 from climbfuji/move_plumrise_to_gocart…
Browse files Browse the repository at this point in the history
…_repo

Add dependency of ccpp-physics on gocart library to CMakeLists.txt
  • Loading branch information
DomHeinzeller authored Apr 23, 2021
2 parents 0e197f9 + ce5901a commit ad0aa26
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
branch = gsl/develop
[submodule "ccpp/physics"]
path = ccpp/physics
url = https://github.com/NOAA-GSL/ccpp-physics
branch = gsl/develop-chem
#url = https://github.com/NOAA-GSL/ccpp-physics
#branch = gsl/develop-chem
url = https://github.com/climbfuji/ccpp-physics
branch = move_plumrise_to_gocart_repo
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,17 @@ endif()
add_subdirectory(ccpp)
add_subdirectory(ccpp/data)
add_subdirectory(ccpp/driver)
add_dependencies(ccppphys ccpp)
add_dependencies(ccppphys ccpp gocart)
add_dependencies(ccppdata ccpp ccppphys)
add_dependencies(ccppdriver ccpp ccppphys ccppdata)
add_dependencies(fv3dycore ccppdriver ccpp ccppphys ccppdata)
target_include_directories(fv3dycore PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/ccpp/framework/src
${CMAKE_CURRENT_BINARY_DIR}/ccpp/physics
${CMAKE_CURRENT_BINARY_DIR}/ccpp/driver)

target_link_libraries(ccppphys PUBLIC sp::sp_d
w3nco::w3nco_d)
w3nco::w3nco_d
gocart)

###############################################################################
### stochastic_physics
Expand Down

0 comments on commit ad0aa26

Please sign in to comment.