Add very basic windows install script.
parent
6e15957d90
commit
4e22d63352
|
|
@ -251,6 +251,10 @@ class WindowsManifest(ViewerManifest):
|
|||
if self.prefix(src=os.path.join(os.pardir, 'sharedlibs', self.args['configuration']),
|
||||
dst=""):
|
||||
|
||||
if self.prefix(src="../../viewer_components/updater", dst=""):
|
||||
self.path("update_install.bat")
|
||||
self.end_prefix()
|
||||
|
||||
self.enable_crt_manifest_check()
|
||||
|
||||
# Get kdu dll, continue if missing.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
start /WAIT %1
|
||||
Loading…
Reference in New Issue