-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement: WRF Coupled CMake Build and Documentation (#797)
* Adding Coupled WRF CMake build instructions * Modifications for building src directory with WRF CMake build system * Update paths and instructions for newer WRF release
- Loading branch information
1 parent
2682cee
commit fb7c1ee
Showing
3 changed files
with
112 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
add_library(hydro_wrf_cpl STATIC | ||
wrf_drv_HYDRO.F90 | ||
module_wrf_HYDRO.F90 | ||
) | ||
|
||
add_dependencies(hydro_wrf_cpl | ||
hydro_mpp | ||
hydro_utils | ||
hydro_debug_utils | ||
hydro_data_rec | ||
hydro_driver | ||
hydro_orchestrator | ||
${PROJECT_NAME}_Core | ||
MPI::MPI_Fortran | ||
) | ||
|
||
target_include_directories(hydro_wrf_cpl | ||
PRIVATE | ||
$<TARGET_PROPERTY:${PROJECT_NAME}_Core,Fortran_MODULE_DIRECTORY> | ||
$<TARGET_PROPERTY:esmf_time_f90,Fortran_MODULE_DIRECTORY> | ||
) | ||
|
||
target_include_directories(hydro_wrf_cpl PUBLIC | ||
${MPI_Fortran_MODULE_DIR} | ||
) |