Update version info for release v4.6.1 (#2122)
[WRF.git] / chem / CMakeLists.txt
blob544b2532564b30bd1ed0f28677d2eddba9ac62f2
1 # WRF CMake Build
2 target_include_directories( 
3                             ${PROJECT_NAME}_Core
4                             PRIVATE
5                               ${CMAKE_CURRENT_SOURCE_DIR}
6                             )
8 ########################################################################################################################
10 # Now add sources
12 ########################################################################################################################
13 target_sources(
14                 ${PROJECT_NAME}_Core
15                 PRIVATE
16                   module_data_isrpia_data.F
17                   module_data_ISRPIA.F
18                   module_data_isrpia_asrc.F
19                   module_data_isrpia_solut.F
20                   module_data_isrpia_kmc198.F
21                   module_data_isrpia_kmc223.F
22                   module_data_isrpia_kmc248.F
23                   module_data_isrpia_kmc273.F
24                   module_data_isrpia_kmc298.F
25                   module_data_isrpia_kmc323.F
26                   module_data_isrpia_expnc.F
27                   module_data_isrpia_caseg.F
28                   module_data_isrpia_casej.F
29                   isofwd.F
30                   isorev.F
31                   isocom.F
32                   moduleHETDATA.F
33                   moduleHETAERO.F
34                   moduleAERODATA.F
35                   aerorate_so2.F
36                   module_aer_opt_out.F
37                   module_add_emiss_burn.F
38                   module_add_emis_cptec.F
39                   module_bioemi_beis314.F
40                   module_chem_utilities.F
41                   module_cmu_dvode_solver.F
42                   module_data_cbmz.F
43                   module_data_cmu_bulkaqchem.F
44                   module_data_gocartchem.F
45                   module_data_gocart_seas.F
46                   module_data_mosaic_kind.F
47                   module_data_mosaic_constants.F
48                   module_data_mosaic_aero.F
49                   module_data_mosaic_main.F
50                   module_data_mosaic_asect.F
51                   module_data_mosaic_asecthp.F
52                   module_data_mosaic_boxmod.F
53                   module_data_mosaic_other.F
54                   module_data_mosaic_therm.F
55                   module_data_radm2.F
56                   module_data_rrtmgaeropt.F
57                   module_data_megan2.F
58                   module_data_soa_vbs.F
59                   module_data_soa_vbs_het.F
60                   module_data_sorgam.F
61                   module_data_sorgam_vbs.F
62                   module_ftuv_subs.F
63                   module_ghg_fluxes.F
64                   module_gocart_drydep.F
65                   module_gocart_settling.F
66                   module_gocart_so2so4.F
67                   module_input_tracer_data.F
68                   module_interpolate.F
69                   module_mosaic_csuesat.F
70                   module_mozcart_wetscav.F
71                   module_peg_util.F
72                   module_tropopause.F
73                   module_upper_bc_driver.F
74                   module_vertmx_wrf.F
75                   module_wave_data.F
76                   module_wetdep_ls.F
77                   module_zero_plumegen_coms.F
78                   module_vash_settling.F
79                   module_chem_plumerise_scalar.F
80                   module_dep_simple.F
81                   module_gocart_dmsemis.F
82                   module_gocart_aerosols.F
83                   module_gocart_dust.F
84                   module_gocart_dust_afwa.F
85                   module_gocart_seasalt.F
86                   module_uoc_dust.F
87                   module_qf03.F
88                   module_soilpsd.F
89                   module_dust_load.F
90                   module_uoc_dustwd.F
91                   module_data_uoc_wd.F
92                   module_mosaic_addemiss.F
93                   module_mosaic_initmixrats.F
94                   module_mosaic_support.F
95                   module_mosaic_init_aerpar.F
96                   module_mosaic_ext.F
97                   module_mosaic_astem.F
98                   module_mosaic_lsode.F
99                   module_mosaic_box_aerchem.F
100                   module_mosaic_aerchem_intr.F
101                   module_mosaic_coag1d.F
102                   module_mosaic_coag3d.F
103                   module_mosaic_movesect1d.F
104                   module_mosaic_movesect3d.F
105                   module_mosaic_newnucb.F
106                   module_mosaic_sect_intr.F
107                   module_mosaic_aerdynam_intr.F
108                   module_mosaic_movesect.F
109                   module_mosaic_newnuc.F
110                   module_mosaic_soa_vbs.F
111                   module_cbmz_lsodes_solver.F
112                   module_cbmz_rodas3_solver.F
113                   module_cmu_bulkaqchem.F
114                   module_data_mgn2mech.F
115                   module_ftuv_driver.F
116                   module_fastj_data.F
117                   module_fastj_mie.F
118                   module_input_chem_data.F
119                   module_mosaic_coag.F
120                   module_mosaic_gly.F
121                   module_mosaic_wetscav.F
122                   module_mosaic_therm.F
123                   module_phot_mad.F
124                   params.mod.F #!TODO Rename this please
125                   numer.F
126                   rdxs.F
127                   rxn.F
128                   params_mod.F
129                   module_phot_tuv.F
130                   module_subs_tuv.F
131                   rtrans.F
132                   la_srb.F
133                   module_radm.F
134                   module_sorgam_aqchem.F
135                   module_sorgam_vbs_aqchem.F
136                   module_aerosols_soa_vbs.F
137                   module_aerosols_soa_vbs_het.F
138                   module_aerosols_sorgam.F
139                   module_aerosols_sorgam_vbs.F
140                   module_bioemi_megan2.F
141                   module_bioemi_simple.F
142                   module_cbm4_initmixrats.F
143                   module_cb05_initmixrats.F
144                   module_cb05_vbs_initmixrats.F
145                   module_cbmz.F
146                   module_cbmz_initmixrats.F
147                   module_cbmz_rodas_prep.F
148                   module_ctrans_grell.F
149                   module_gocart_chem.F
150                   module_input_tracer.F
151                   module_lightning_nox_driver.F
152                   module_lightning_nox_ott.F
153                   module_lightning_nox_decaria.F
154                   module_mixactivate_wrappers.F
155                   module_mosaic_init_aerpar.F
156                   module_mosaic2_driver.F
157                   module_mosaic_sumpm.F
158                   module_mosaic_driver.F
159                   module_optical_averaging.F
160                   module_plumerise1.F
161                   module_mosaic_drydep.F
162                   module_wetscav_driver.F
163                   module_prep_wetscav_sorgam.F
164                   module_input_chem_bioemiss.F
165                   module_input_dust_errosion.F
166                   module_input_gocart_dms.F
167                   module_cbmz_addemiss.F
168                   module_cbm4_addemiss.F
169                   module_cb05_addemiss.F
170                   module_emissions_anthropogenics.F
171                   module_aer_drydep.F
172                   module_cam_mam_calcsize.F
173                   module_cam_mam_dust_sediment.F
174                   module_cam_mam_drydep.F
175                   module_cam_mam_init.F
176                   module_cam_mam_initaerodata.F
177                   module_cam_mam_initmixrats.F
178                   module_cam_mam_rename.F
179                   module_cam_mam_wateruptake.F
180                   module_cam_mam_gasaerexch.F
181                   module_cam_mam_coag.F
182                   module_cam_mam_newnuc.F
183                   module_cam_mam_aerchem_driver.F
184                   module_cam_mam_addemiss.F
185                   module_cam_mam_wetscav.F
186                   module_cam_mam_mz_aerosols_intr.F
187                   module_cam_mam_wetdep.F
188                   module_cam_mam_cloudchem.F
189                   module_cam_mam_setsox.F
190                   module_cam_mam_mo_chem_utls.F
191                   module_mosaic_cloudchem.F
192                   module_sorgam_cloudchem.F
193                   module_sorgam_vbs_cloudchem.F
194                   module_cam_mam_gas_wetdep_driver.F
195                   module_cam_mam_mo_sethet.F
196                   module_phot_fastj.F
197                   module_chem_cup.F
198                   module_isocom.F
199                   module_isofwd.F
200                   module_isorev.F
201                   chemics_init.F
202                   chem_driver.F
203                   cloudchem_driver.F
204                   photolysis_driver.F
205                   optical_driver.F
206                   mechanism_driver.F
207                   emissions_driver.F
208                   dry_dep_driver.F
209                   aerosol_driver.F
210                   )
212 ########################################################################################################################
214 # convert_emiss executable
216 ########################################################################################################################
217 add_executable(
218                 convert_emiss
219                 convert_emiss.F 
220                 )
222 target_link_libraries( 
223                       convert_emiss
224                       PRIVATE
225                         ${PROJECT_NAME}_Core
226                       )
228 target_compile_options(
229                         convert_emiss
230                         PRIVATE
231                           ${PROJECT_COMPILE_OPTIONS}
232                         )
235 target_compile_definitions(
236                             convert_emiss
237                             PRIVATE
238                               ${PROJECT_COMPILE_DEFINITIONS}
239                           )