1 # These are just rules for this case, could be named CMakeLists.txt or something
2 # like install_rules.cmake, whatever you want really
3 get_filename_component( FOLDER_DEST ${CMAKE_CURRENT_SOURCE_DIR} NAME )
6 DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
7 DESTINATION ${CMAKE_INSTALL_PREFIX}/test/
8 PATTERN CMakeLists.txt EXCLUDE
9 PATTERN .gitignore EXCLUDE
12 TARGETS real tc ndown wrf
13 DEST_PATH ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}
19 ${PROJECT_SOURCE_DIR}/run/README.namelist
20 ${PROJECT_SOURCE_DIR}/run/README.physics_files
21 ${PROJECT_SOURCE_DIR}/run/README.physics_files
23 ${PROJECT_SOURCE_DIR}/run/ETAMPNEW_DATA
24 ${PROJECT_SOURCE_DIR}/run/ETAMPNEW_DATA.expanded_rain
25 ${PROJECT_SOURCE_DIR}/run/RRTM_DATA
26 ${PROJECT_SOURCE_DIR}/run/RRTMG_LW_DATA
27 ${PROJECT_SOURCE_DIR}/run/RRTMG_SW_DATA
28 ${PROJECT_SOURCE_DIR}/run/CAM_ABS_DATA
29 ${PROJECT_SOURCE_DIR}/run/CAM_AEROPT_DATA
30 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.RCP4.5
31 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.RCP6
32 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.RCP8.5
33 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.A1B
34 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.A2
35 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.SSP119
36 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.SSP126
37 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.SSP245
38 #!TODO Why does this have an alt name?
39 # ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.SSP245 # Has alt name, why?
40 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.SSP370
41 ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.SSP585
42 ${PROJECT_SOURCE_DIR}/run/CLM_ALB_ICE_DFS_DATA
43 ${PROJECT_SOURCE_DIR}/run/CLM_ALB_ICE_DRC_DATA
44 ${PROJECT_SOURCE_DIR}/run/CLM_ASM_ICE_DFS_DATA
45 ${PROJECT_SOURCE_DIR}/run/CLM_ASM_ICE_DRC_DATA
46 ${PROJECT_SOURCE_DIR}/run/CLM_DRDSDT0_DATA
47 ${PROJECT_SOURCE_DIR}/run/CLM_EXT_ICE_DFS_DATA
48 ${PROJECT_SOURCE_DIR}/run/CLM_EXT_ICE_DRC_DATA
49 ${PROJECT_SOURCE_DIR}/run/CLM_KAPPA_DATA
50 ${PROJECT_SOURCE_DIR}/run/CLM_TAU_DATA
51 ${PROJECT_SOURCE_DIR}/run/ozone.formatted
52 ${PROJECT_SOURCE_DIR}/run/ozone_lat.formatted
53 ${PROJECT_SOURCE_DIR}/run/ozone_plev.formatted
54 ${PROJECT_SOURCE_DIR}/run/aerosol.formatted
55 ${PROJECT_SOURCE_DIR}/run/aerosol_lat.formatted
56 ${PROJECT_SOURCE_DIR}/run/aerosol_lon.formatted
57 ${PROJECT_SOURCE_DIR}/run/aerosol_plev.formatted
58 ${PROJECT_SOURCE_DIR}/run/eclipse_besselian_elements.dat
59 ${PROJECT_SOURCE_DIR}/run/capacity.asc
60 ${PROJECT_SOURCE_DIR}/run/coeff_p.asc
61 ${PROJECT_SOURCE_DIR}/run/coeff_q.asc
62 ${PROJECT_SOURCE_DIR}/run/constants.asc
63 ${PROJECT_SOURCE_DIR}/run/masses.asc
64 ${PROJECT_SOURCE_DIR}/run/termvels.asc
65 ${PROJECT_SOURCE_DIR}/run/kernels.asc_s_0_03_0_9
66 ${PROJECT_SOURCE_DIR}/run/kernels_z.asc
67 ${PROJECT_SOURCE_DIR}/run/bulkdens.asc_s_0_03_0_9
68 ${PROJECT_SOURCE_DIR}/run/bulkradii.asc_s_0_03_0_9
69 ${PROJECT_SOURCE_DIR}/run/CCN_ACTIVATE.BIN
70 ${PROJECT_SOURCE_DIR}/run/p3_lookupTable_1.dat-v5.4_2momI
71 ${PROJECT_SOURCE_DIR}/run/p3_lookupTable_1.dat-v5.4_3momI
72 ${PROJECT_SOURCE_DIR}/run/p3_lookupTable_2.dat-v5.3
73 ${PROJECT_SOURCE_DIR}/run/HLC.TBL
74 ${PROJECT_SOURCE_DIR}/run/wind-turbine-1.tbl
75 ${PROJECT_SOURCE_DIR}/run/ishmael-gamma-tab.bin
76 ${PROJECT_SOURCE_DIR}/run/ishmael-qi-qc.bin
77 ${PROJECT_SOURCE_DIR}/run/ishmael-qi-qr.bin
78 ${PROJECT_SOURCE_DIR}/run/BROADBAND_CLOUD_GODDARD.bin
79 ${PROJECT_SOURCE_DIR}/run/STOCHPERT.TBL
81 ${PROJECT_SOURCE_DIR}/run/GENPARM.TBL
82 ${PROJECT_SOURCE_DIR}/run/LANDUSE.TBL
83 ${PROJECT_SOURCE_DIR}/run/SOILPARM.TBL
84 ${PROJECT_SOURCE_DIR}/run/URBPARM.TBL
85 ${PROJECT_SOURCE_DIR}/run/URBPARM_LCZ.TBL
86 ${PROJECT_SOURCE_DIR}/run/VEGPARM.TBL
87 ${PROJECT_SOURCE_DIR}/phys/noahmp/parameters/MPTABLE.TBL
88 ${PROJECT_SOURCE_DIR}/run/tr49t67
89 ${PROJECT_SOURCE_DIR}/run/tr49t85
90 ${PROJECT_SOURCE_DIR}/run/tr67t85
91 ${PROJECT_SOURCE_DIR}/run/gribmap.txt
92 ${PROJECT_SOURCE_DIR}/run/grib2map.tbl
94 ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}
97 wrf_setup_file_new_name(
98 FILE ${PROJECT_SOURCE_DIR}/run/CAMtr_volume_mixing_ratio.SSP245
99 NEW_NAME ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}/CAMtr_volume_mixing_ratio
106 wrf_setup_file_new_name(
107 FILE ${PROJECT_SOURCE_DIR}/run/ETAMPNEW_DATA_DBL
108 NEW_NAME ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}/ETAMPNEW_DATA
110 wrf_setup_file_new_name(
111 FILE ${PROJECT_SOURCE_DIR}/run/ETAMPNEW_DATA.expanded_rain_DBL
112 NEW_NAME ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}/ETAMPNEW_DATA.expanded_rain
114 wrf_setup_file_new_name(
115 FILE ${PROJECT_SOURCE_DIR}/run/RRTM_DATA_DBL
116 NEW_NAME ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}/RRTM_DATA
118 wrf_setup_file_new_name(
119 FILE ${PROJECT_SOURCE_DIR}/run/RRTMG_LW_DATA_DBL
120 NEW_NAME ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}/RRTMG_LW_DATA
122 wrf_setup_file_new_name(
123 FILE ${PROJECT_SOURCE_DIR}/run/RRTMG_SW_DATA_DBL
124 NEW_NAME ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}/RRTMG_SW_DATA