Merge branch 'release-v4.6.0' of github.com:wrf-model/WRF
[WRF.git] / test / em_scm_xy / CMakeLists.txt
blobfad4a9b122a3e0f87b12e18184ff492f713c6b1b
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/GENPARM.TBL
21                   ${PROJECT_SOURCE_DIR}/run/LANDUSE.TBL
22                   ${PROJECT_SOURCE_DIR}/run/SOILPARM.TBL
23                   ${PROJECT_SOURCE_DIR}/run/VEGPARM.TBL
24                   ${PROJECT_SOURCE_DIR}/run/RRTM_DATA
25                 DEST_PATH  ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}
26                 )