-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
77 lines (67 loc) · 2.4 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
esma_set_this ()
set (microphysics_dir microphysics)
set (srcs
${microphysics_dir}/infnan.F90
${microphysics_dir}/cam_logfile.F90
${microphysics_dir}/abortutils.F90
${microphysics_dir}/chem_mods.F90
${microphysics_dir}/constituents.F90
${microphysics_dir}/modal_aero_data.F90
${microphysics_dir}/modal_aero_newnuc.F90
${microphysics_dir}/module_data_mosaic_kind.F90
${microphysics_dir}/module_data_mosaic_aero.F90
${microphysics_dir}/module_data_mosaic_asect.F90
${microphysics_dir}/module_data_mosaic_asecthp.F90
${microphysics_dir}/module_data_mosaic_constants.F90
${microphysics_dir}/module_mosaic_ext.F90
${microphysics_dir}/module_mosaic_support.F90
${microphysics_dir}/module_mosaic_astem.F90
${microphysics_dir}/module_data_mosaic_main.F90
${microphysics_dir}/module_data_mosaic_gas.F90
${microphysics_dir}/module_mosaic_lsode.F90
${microphysics_dir}/module_mosaic_box_aerchem.F90
${microphysics_dir}/modal_aero_coag.F90
${microphysics_dir}/modal_aero_calcsize.F90
${microphysics_dir}/modal_aero_amicphys.F90
${microphysics_dir}/module_mosaic_init_aerpar.F90
${microphysics_dir}/module_mosaic_init.F90
${microphysics_dir}/module_mosaic_cam_init.F90
${microphysics_dir}/modal_aero_initialize_data.F90
${microphysics_dir}/modal_aero_wateruptake.F90
MAML_SizeMod.F90
MAML_SettlingMod.F90
MAML_DryDepositionMod.F90
MAML_DryRemovalMod.F90
MAML_WetRemovalMod.F90
MAML_OpticsTableMod.F90
MAML_OpticsMod.F90
MAM3_DataMod.F90
MAM7_DataMod.F90
MAM_ComponentsDataMod.F90
MAM_ConstituentsDataMod.F90
MAM_BaseMod.F90
MAM_SizeMod.F90
MAM_DryRemovalMod.F90
MAM_WetRemovalMod.F90
MAM_SeasaltMod.F90
MAM_DustMod.F90
MAM_BlackCarbonMod.F90
MAM_OrganicCarbonMod.F90
MAM_SulfateMod.F90
MAM_GridCompMod.F90
# wetdep.F90
)
set (dependencies MAPL Chem_Shared GMAO_mpeu esmf NetCDF::NetCDF_Fortran)
esma_add_library (${this} SRCS ${srcs} DEPENDENCIES ${dependencies} SUBDIRS optics)
target_compile_definitions (${this} PRIVATE GEOS5 MODAL_AERO MODAL_AERO_7MODE GEOS5_PORT)
esma_generate_gocart_code (${this} -F)
file (GLOB resource_files CONFIGURE_DEPENDS "*.rc" "*.yaml")
set (mamscripts mam_optics_calculator.py mam_optics_calculator.csh)
ecbuild_add_executable(TARGET mam_optics_calculator.xx SOURCES mam_optics_calculator.F90 LIBS ${this})
install(
FILES ${resource_files}
DESTINATION etc
)
install(
PROGRAMS ${mamscripts}
DESTINATION bin)