mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 09:55:19 +00:00
add vcrunime pattern to distribution directive #4542
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
85cb0293f5
commit
9bc5552ca2
|
@ -253,7 +253,8 @@ def mk_zips():
|
||||||
|
|
||||||
VS_RUNTIME_PATS = [re.compile('vcomp.*\.dll'),
|
VS_RUNTIME_PATS = [re.compile('vcomp.*\.dll'),
|
||||||
re.compile('msvcp.*\.dll'),
|
re.compile('msvcp.*\.dll'),
|
||||||
re.compile('msvcr.*\.dll')]
|
re.compile('msvcr.*\.dll'),
|
||||||
|
re.compile('vcrun.*\.dll')]
|
||||||
|
|
||||||
# Copy Visual Studio Runtime libraries
|
# Copy Visual Studio Runtime libraries
|
||||||
def cp_vs_runtime(x64):
|
def cp_vs_runtime(x64):
|
||||||
|
|
|
@ -143,7 +143,10 @@ def _copy_bins():
|
||||||
os.mkdir(HEADERS_DIR)
|
os.mkdir(HEADERS_DIR)
|
||||||
shutil.copy(os.path.join(BUILD_DIR, LIBRARY_FILE), LIBS_DIR)
|
shutil.copy(os.path.join(BUILD_DIR, LIBRARY_FILE), LIBS_DIR)
|
||||||
shutil.copy(os.path.join(BUILD_DIR, EXECUTABLE_FILE), BINS_DIR)
|
shutil.copy(os.path.join(BUILD_DIR, EXECUTABLE_FILE), BINS_DIR)
|
||||||
for filepath in glob.glob(os.path.join(BUILD_DIR, "msvcp*")) + glob.glob(os.path.join(BUILD_DIR, "vcomp*")):
|
path1 = glob.glob(os.path.join(BUILD_DIR, "msvcp*"))
|
||||||
|
path2 = glob.glob(os.path.join(BUILD_DIR, "vcomp*"))
|
||||||
|
path3 = glob.glob(os.path.join(BUILD_DIR, "vcrun*"))
|
||||||
|
for filepath in path1 + path2 + path3:
|
||||||
shutil.copy(filepath, LIBS_DIR)
|
shutil.copy(filepath, LIBS_DIR)
|
||||||
|
|
||||||
for header_dir in HEADER_DIRS:
|
for header_dir in HEADER_DIRS:
|
||||||
|
|
Loading…
Reference in a new issue