CMake netCDF Compatibility with WPS (#2121)
[WRF.git] / test / em_quarter_ss / CMakeLists.txt
blob54ffc652fc69782cdbbe4dc5b98b58193c0bc723
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 )
5 install(
6         DIRECTORY   ${CMAKE_CURRENT_SOURCE_DIR}
7         DESTINATION ${CMAKE_INSTALL_PREFIX}/test/
8         PATTERN CMakeLists.txt EXCLUDE
9         PATTERN .gitignore     EXCLUDE
10         )
11 wrf_setup_targets(
12                   TARGETS   ideal wrf
13                   DEST_PATH  ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}
14                   USE_SYMLINKS
15                   )
17 wrf_setup_files( 
18                 FILES
19                   ${PROJECT_SOURCE_DIR}/run/README.namelist
20                   ${PROJECT_SOURCE_DIR}/run/bulkdens.asc_s_0_03_0_9
21                   ${PROJECT_SOURCE_DIR}/run/bulkradii.asc_s_0_03_0_9
22                   ${PROJECT_SOURCE_DIR}/run/capacity.asc
23                   ${PROJECT_SOURCE_DIR}/run/coeff_p.asc
24                   ${PROJECT_SOURCE_DIR}/run/coeff_q.asc
25                   ${PROJECT_SOURCE_DIR}/run/constants.asc
26                   ${PROJECT_SOURCE_DIR}/run/kernels.asc_s_0_03_0_9
27                   ${PROJECT_SOURCE_DIR}/run/kernels_z.asc
28                   ${PROJECT_SOURCE_DIR}/run/masses.asc
29                   ${PROJECT_SOURCE_DIR}/run/termvels.asc
30                 DEST_PATH  ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}
31                 )