1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Windows: Add resource file to Format dll. Fix copying output of Format dll project.

This commit is contained in:
Mounir IDRASSI
2025-06-24 15:31:39 +09:00
parent 79f7791036
commit c1dbcb32e6
3 changed files with 76 additions and 4 deletions

View File

@@ -106,6 +106,9 @@
<ItemGroup>
<ClInclude Include="VeraCryptFormatSDK.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="FormatDLL.rc" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>17.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
@@ -196,7 +199,7 @@
<PostBuildEvent>
<Command>md "..\Debug\SDK Files\x64" 2&gt;NUL:
copy $(TargetPath) "..\Debug\SDK Files\x64\VeraCryptFormat.dll"
copy $(TargetPath) "..\Debug\SDK Files\x64\VeraCryptFormat.lib"
copy $(TargetDir)$(TargetName).lib "..\Debug\SDK Files\x64\VeraCryptFormat.lib"
copy VeraCryptFormatSDK.h "..\Debug\SDK Files\VeraCryptFormatSDK.h"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -222,7 +225,7 @@ copy VeraCryptFormatSDK.h "..\Debug\SDK Files\VeraCryptFormatSDK.h"</Command>
<PostBuildEvent>
<Command>md "..\Debug\SDK Files\arm64" 2&gt;NUL:
copy $(TargetPath) "..\Debug\SDK Files\arm64\VeraCryptFormat.dll"
copy $(TargetPath) "..\Debug\SDK Files\arm64\VeraCryptFormat.lib"
copy $(TargetDir)$(TargetName).lib "..\Debug\SDK Files\arm64\VeraCryptFormat.lib"
copy VeraCryptFormatSDK.h "..\Debug\SDK Files\VeraCryptFormatSDK.h"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
@@ -251,7 +254,7 @@ copy VeraCryptFormatSDK.h "..\Debug\SDK Files\VeraCryptFormatSDK.h"</Command>
<PostBuildEvent>
<Command>md "..\Release\SDK Files\x64" 2&gt;NUL:
copy $(TargetPath) "..\Release\SDK Files\x64\VeraCryptFormat.dll"
copy $(TargetPath) "..\Release\SDK Files\x64\VeraCryptFormat.lib"
copy $(TargetDir)$(TargetName).lib "..\Release\SDK Files\x64\VeraCryptFormat.lib"
copy VeraCryptFormatSDK.h "..\Release\SDK Files\VeraCryptFormatSDK.h"
</Command>
</PostBuildEvent>
@@ -281,7 +284,7 @@ copy VeraCryptFormatSDK.h "..\Release\SDK Files\VeraCryptFormatSDK.h"
<PostBuildEvent>
<Command>md "..\Release\SDK Files\arm64" 2&gt;NUL:
copy $(TargetPath) "..\Release\SDK Files\arm64\VeraCryptFormat.dll"
copy $(TargetPath) "..\Release\SDK Files\arm64\VeraCryptFormat.lib"
copy $(TargetDir)$(TargetName).lib "..\Release\SDK Files\arm64\VeraCryptFormat.lib"
copy VeraCryptFormatSDK.h "..\Release\SDK Files\VeraCryptFormatSDK.h"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>