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/LANDUSE.TBL
21 DEST_PATH ${CMAKE_INSTALL_PREFIX}/test/${FOLDER_DEST}