PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/ViewerInstall.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 28 lines | 23 code | 5 blank | 0 comment | 2 complexity | 47c80c09f9210e6899c8bef416cd8be2 MD5 | raw file
 1install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${VIEWER_BINARY_NAME}
 2        DESTINATION ${APP_BINARY_DIR}
 3        )
 4
 5install(DIRECTORY skins app_settings linux_tools
 6        DESTINATION ${APP_SHARE_DIR}
 7        PATTERN ".svn" EXCLUDE
 8        )
 9
10find_file(IS_ARTWORK_PRESENT NAMES have_artwork_bundle.marker
11          PATHS ${VIEWER_DIR}/newview/res)
12
13if (IS_ARTWORK_PRESENT)
14  install(DIRECTORY res res-sdl character
15          DESTINATION ${APP_SHARE_DIR}
16          PATTERN ".svn" EXCLUDE
17          )
18else (IS_ARTWORK_PRESENT)
19  message(STATUS "WARNING: Artwork is not present, and will not be installed")
20endif (IS_ARTWORK_PRESENT)
21
22install(FILES featuretable_linux.txt featuretable_solaris.txt gpu_table.txt
23        DESTINATION ${APP_SHARE_DIR}
24        )
25
26install(FILES ${SCRIPTS_DIR}/messages/message_template.msg
27        DESTINATION ${APP_SHARE_DIR}/app_settings
28        )