Make VS2017 runtime optional so we can compile with VS2022 (for local

development and use)
master
Nicky 2022-08-21 21:05:05 +02:00
parent 05034dfee0
commit 9ff2ed7352
1 changed files with 5 additions and 4 deletions

View File

@ -628,8 +628,8 @@ class WindowsManifest(ViewerManifest):
# These need to be installed as a SxS assembly, currently a 'private' assembly.
# See http://msdn.microsoft.com/en-us/library/ms235291(VS.80).aspx
self.path("msvcp140.dll")
self.path("vcruntime140.dll")
self.path_optional("msvcp140.dll") # FS:ND make them optional to be able to build with VS2022, on a developer PC this will not be harmful
self.path_optional("vcruntime140.dll") # FS:ND make them optional to be able to build with VS2022, on a developer PC this will not be harmful
self.path_optional("vcruntime140_1.dll")
# SLVoice executable
@ -719,10 +719,11 @@ class WindowsManifest(ViewerManifest):
self.path("v8_context_snapshot.bin")
# MSVC DLLs needed for CEF and have to be in same directory as plugin
# FS:ND They are all optional, as when compilig with VS2022 they won't be available'
with self.prefix(src=os.path.join(self.args['build'], os.pardir,
'sharedlibs', 'Release')):
self.path("msvcp140.dll")
self.path("vcruntime140.dll")
self.path_optional("msvcp140.dll")
self.path_optional("vcruntime140.dll")
self.path_optional("vcruntime140_1.dll")
# CEF files common to all configurations