1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-28 16:24:13 +01:00

[build] Use the static version of the run-time library for MSVC builds

This commit is contained in:
WinterSnowfall 2024-11-10 22:31:49 +02:00 committed by Philip Rebohle
parent 125f0acefd
commit 664783b290
2 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@ git clone --recursive https://github.com/doitsujin/dxvk.git
### Requirements:
- [wine 7.1](https://www.winehq.org/) or newer
- [Meson](https://mesonbuild.com/) build system (at least version 0.49)
- [Meson](https://mesonbuild.com/) build system (at least version 0.58)
- [Mingw-w64](https://www.mingw-w64.org) compiler and headers (at least version 10.0)
- [glslang](https://github.com/KhronosGroup/glslang) compiler

View File

@ -1,4 +1,4 @@
project('dxvk', ['c', 'cpp'], version : 'v2.4.1', meson_version : '>= 0.58', default_options : [ 'cpp_std=c++17', 'warning_level=2' ])
project('dxvk', ['c', 'cpp'], version : 'v2.4.1', meson_version : '>= 0.58', default_options : [ 'cpp_std=c++17', 'b_vscrt=static_from_buildtype', 'warning_level=2' ])
pkg = import('pkgconfig')
cpu_family = target_machine.cpu_family()
@ -90,8 +90,8 @@ if platform == 'windows'
# setup file alignment + enable PDB output for MSVC builds
# PDBs are useful for Windows consumers of DXVK
compiler_args += [
'/Z7'
]
'/Z7'
]
link_args += [
'/FILEALIGN:4096',
'/DEBUG:FULL'