diff options
author | Simon Rozman <simon@rozman.si> | 2021-04-13 12:50:13 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-13 15:50:50 -0600 |
commit | 51a4f299c39f5b53a41da6caf7d10157123420e6 (patch) | |
tree | d67d46e1c66fa34b09845aa13b2b7211783c8ebf | |
parent | vs: remove api->wintun project dependency (diff) | |
download | wintun-51a4f299c39f5b53a41da6caf7d10157123420e6.tar.xz wintun-51a4f299c39f5b53a41da6caf7d10157123420e6.zip |
vs: put .pdb files in the intermediate folders
Wondering, why WinDbg is refusing to load symbols for wintun.sys
recently...
By default, building puts .pdb files to the output folder. Next to the
final binaries: wintun.sys, wintun.dll, example.exe... Wait?! But the
wintun.pdb from wintun.dll overwrites the wintun.pdb from wintun.sys
then.
Signed-off-by: Simon Rozman <simon@rozman.si>
-rw-r--r-- | wintun.props | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wintun.props b/wintun.props index 4219ebe..ba48095 100644 --- a/wintun.props +++ b/wintun.props @@ -40,6 +40,9 @@ <ClCompile> <Optimization>Disabled</Optimization> </ClCompile> + <Link> + <ProgramDatabaseFile>$(IntDir)$(TargetName).pdb</ProgramDatabaseFile> + </Link> </ItemDefinitionGroup> <PropertyGroup> <WindowsSdkToolchainPlatform>$(PROCESSOR_ARCHITECTURE)</WindowsSdkToolchainPlatform> |