From 01684d36ba1afdf3a401a7946f29ed1624efbd61 Mon Sep 17 00:00:00 2001 From: num0005 Date: Fri, 26 Jul 2024 16:53:54 +0100 Subject: [PATCH] [build][msvc] Enable PDB output for all builds. PDB generation even for release builds takes a little more time, but makes debugging DXVK on Windows easier. As the symbols are not embedded in the DLL it doesn't impact code generation or output binary size. --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson.build b/meson.build index d7d440630..a19a9fbbd 100644 --- a/meson.build +++ b/meson.build @@ -87,8 +87,14 @@ if platform == 'windows' ] endif else + # setup file alignment + enable PDB output for MSVC builds + # PDBs are useful for Windows consumers of DXVK + compiler_args += [ + '/Z7' + ] link_args += [ '/FILEALIGN:4096', + '/DEBUG:FULL' ] endif