Skip to content

Commit 22b3125

Browse files
authored
Merge pull request #1053 from GEOS-ESM/feature/pchakrab/gwd-acg-fication
ACG-fication of GWD
2 parents 0a746ab + 9928c2b commit 22b3125

File tree

3 files changed

+980
-1523
lines changed

3 files changed

+980
-1523
lines changed

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSgwd_GridComp/CMakeLists.txt

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,23 @@ set (srcs
1919
)
2020

2121
set (resource_files
22-
GWD_GridComp.rc
23-
)
24-
25-
22+
GWD_GridComp.rc
23+
)
2624

2725
install( FILES ${resource_files}
28-
DESTINATION etc
29-
)
26+
DESTINATION etc
27+
)
3028

31-
esma_add_library (${this} SRCS ${srcs} DEPENDENCIES GEOS_Shared MAPL ESMF::ESMF NetCDF::NetCDF_Fortran)
29+
esma_add_library (
30+
${this}
31+
SRCS ${srcs}
32+
DEPENDENCIES GEOS_Shared MAPL ESMF::ESMF NetCDF::NetCDF_Fortran TYPE SHARED
33+
)
34+
35+
mapl_acg (
36+
${this} GWD_StateSpecs.rc
37+
IMPORT_SPECS EXPORT_SPECS INTERNAL_SPECS GET_POINTERS DECLARE_POINTERS
38+
)
3239

3340
# CMake has an OpenMP issue with NAG Fortran: https://gitlab.kitware.com/cmake/cmake/-/issues/21280
3441
if (NOT CMAKE_Fortran_COMPILER_ID MATCHES "NAG")

0 commit comments

Comments
 (0)