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
13 DEST_PATH ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}
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}