Merge branch 'release-v4.6.0' of github.com:wrf-model/WRF
[WRF.git] / test / em_tropical_cyclone / CMakeLists.txt
blobf7422e097110be1f7812a0e4424fea2c8654d2ff
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/LANDUSE.TBL
21                 DEST_PATH  ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}
22                 )