summaryrefslogtreecommitdiff
path: root/indra/viewer_components
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2010-11-11 11:05:46 -0800
committerAndrew A. de Laix <alain@lindenlab.com>2010-11-11 11:05:46 -0800
commit4e22d63352dd65085cfbba9c22070271ecdd4bcf (patch)
tree10f86c8a2c109c46c0d21117a0151ef67bea44e3 /indra/viewer_components
parent6e15957d909787ba612004903f04335a593b5348 (diff)
Add very basic windows install script.
Diffstat (limited to 'indra/viewer_components')
-rw-r--r--indra/viewer_components/updater/CMakeLists.txt7
-rw-r--r--indra/viewer_components/updater/scripts/windows/update_install.bat1
2 files changed, 8 insertions, 0 deletions
diff --git a/indra/viewer_components/updater/CMakeLists.txt b/indra/viewer_components/updater/CMakeLists.txt
index c5ccfbf66a..469c0cf05e 100644
--- a/indra/viewer_components/updater/CMakeLists.txt
+++ b/indra/viewer_components/updater/CMakeLists.txt
@@ -89,6 +89,13 @@ if(DARWIN)
update_installer_targets
"update_install"
)
+elseif(WINDOWS)
+ copy_if_different(
+ "${CMAKE_CURRENT_SOURCE_DIR}/scripts/windows"
+ "${CMAKE_CURRENT_BINARY_DIR}"
+ update_installer_targets
+ "update_install.bat"
+ )
endif()
add_custom_target(copy_update_install ALL DEPENDS ${update_installer_targets})
add_dependencies(llupdaterservice copy_update_install)
diff --git a/indra/viewer_components/updater/scripts/windows/update_install.bat b/indra/viewer_components/updater/scripts/windows/update_install.bat
new file mode 100644
index 0000000000..def33c1346
--- /dev/null
+++ b/indra/viewer_components/updater/scripts/windows/update_install.bat
@@ -0,0 +1 @@
+start /WAIT %1 \ No newline at end of file