diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-31 15:09:47 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2020-10-31 19:11:56 +0100 |
commit | 6c40f24498d448f3c5b52530835f367306cb0ff7 (patch) | |
tree | 3191d14a860e3134734123708df2fda4f4a8b2a3 /api/api.vcxproj | |
parent | api: add missing header for rundll32 mode (diff) | |
download | wintun-6c40f24498d448f3c5b52530835f367306cb0ff7.tar.xz wintun-6c40f24498d448f3c5b52530835f367306cb0ff7.zip |
api: add debugging rundll32 entry point
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/api.vcxproj')
-rw-r--r-- | api/api.vcxproj | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/api/api.vcxproj b/api/api.vcxproj index b93990d..af28a41 100644 --- a/api/api.vcxproj +++ b/api/api.vcxproj @@ -100,6 +100,11 @@ <CodeAnalysisRuleSet>NativeRecommendedRules.ruleset</CodeAnalysisRuleSet> <RunCodeAnalysis>true</RunCodeAnalysis> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> + <LocalDebuggerCommand>rundll32.exe</LocalDebuggerCommand> + <LocalDebuggerCommandArguments>$(OutDir)$(TargetName)$(TargetExt),DoThingsForDebugging</LocalDebuggerCommandArguments> + <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> + </PropertyGroup> <ItemDefinitionGroup> <ClCompile> <PreprocessorDefinitions>_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -164,6 +169,7 @@ <ClInclude Include="ntldr.h" /> <ClInclude Include="registry.h" /> <ClInclude Include="resource.h" /> + <ClInclude Include="session.h" /> <ClInclude Include="wintun.h" /> </ItemGroup> <ItemGroup> @@ -194,4 +200,4 @@ <Target Name="CleanSignTarget"> <Delete Files="$(IntermediateOutputPath)$(TargetName).sign" /> </Target> -</Project>
\ No newline at end of file +</Project> |