summaryrefslogtreecommitdiff
path: root/indra/newview/ViewerInstall.cmake
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-06-02 21:14:31 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-06-02 21:14:31 +0000
commit9db949eec327df4173fde3de934a87bedb0db13c (patch)
treeaeffa0f0e68b1d2ceb74d460cbbd22652c9cd159 /indra/newview/ViewerInstall.cmake
parent419e13d0acaabf5e1e02e9b64a07648bce822b2f (diff)
svn merge -r88066:88786 svn+ssh://svn.lindenlab.com/svn/linden/branches/cmake-9-merge
dataserver-is-deprecated for-fucks-sake-whats-with-these-commit-markers
Diffstat (limited to 'indra/newview/ViewerInstall.cmake')
-rw-r--r--indra/newview/ViewerInstall.cmake28
1 files changed, 28 insertions, 0 deletions
diff --git a/indra/newview/ViewerInstall.cmake b/indra/newview/ViewerInstall.cmake
new file mode 100644
index 0000000000..55069ad2b5
--- /dev/null
+++ b/indra/newview/ViewerInstall.cmake
@@ -0,0 +1,28 @@
+install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/secondlife-bin
+ DESTINATION ${APP_BINARY_DIR}
+ )
+
+install(DIRECTORY skins app_settings linux_tools
+ DESTINATION ${APP_SHARE_DIR}
+ PATTERN ".svn" EXCLUDE
+ )
+
+find_file(IS_ARTWORK_PRESENT NAMES avatar_lad.xml
+ PATHS ${VIEWER_DIR}/newview/character)
+
+if (IS_ARTWORK_PRESENT)
+ install(DIRECTORY res res-sdl character
+ DESTINATION ${APP_SHARE_DIR}
+ PATTERN ".svn" EXCLUDE
+ )
+else (IS_ARTWORK_PRESENT)
+ message(STATUS "WARNING: Artwork is not present, and will not be installed")
+endif (IS_ARTWORK_PRESENT)
+
+install(FILES featuretable_linux.txt featuretable_solaris.txt gpu_table.txt
+ DESTINATION ${APP_SHARE_DIR}
+ )
+
+install(FILES ${SCRIPTS_DIR}/messages/message_template.msg
+ DESTINATION ${APP_SHARE_DIR}/app_settings
+ )