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:
64
src/FormatDLL/FormatDLL.rc
Normal file
64
src/FormatDLL/FormatDLL.rc
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
// Microsoft Visual C++ generated resource script.
|
||||||
|
//
|
||||||
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
|
//
|
||||||
|
#include "winres.h"
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// English (U.S.) resources
|
||||||
|
|
||||||
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||||
|
#ifdef _WIN32
|
||||||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
|
#pragma code_page(1252)
|
||||||
|
#endif //_WIN32
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Version
|
||||||
|
//
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION 1,26,24,0
|
||||||
|
PRODUCTVERSION 1,26,24,0
|
||||||
|
FILEFLAGSMASK 0x17L
|
||||||
|
#ifdef _DEBUG
|
||||||
|
FILEFLAGS 0x1L
|
||||||
|
#else
|
||||||
|
FILEFLAGS 0x0L
|
||||||
|
#endif
|
||||||
|
FILEOS 0x4L
|
||||||
|
FILETYPE 0x1L
|
||||||
|
FILESUBTYPE 0x0L
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "AM Crypto"
|
||||||
|
VALUE "FileDescription", "VeraCrypt Format SDK"
|
||||||
|
VALUE "FileVersion", "1.26.24"
|
||||||
|
VALUE "LegalTrademarks", "VeraCrypt"
|
||||||
|
VALUE "OriginalFilename", "VeraCryptFormat.dll"
|
||||||
|
VALUE "ProductName", "VeraCrypt"
|
||||||
|
VALUE "ProductVersion", "1.26.24"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif // English (U.S.) resources
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
@@ -106,6 +106,9 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="VeraCryptFormatSDK.h" />
|
<ClInclude Include="VeraCryptFormatSDK.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="FormatDLL.rc" />
|
||||||
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<VCProjectVersion>17.0</VCProjectVersion>
|
<VCProjectVersion>17.0</VCProjectVersion>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
@@ -196,7 +199,7 @@
|
|||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>md "..\Debug\SDK Files\x64" 2>NUL:
|
<Command>md "..\Debug\SDK Files\x64" 2>NUL:
|
||||||
copy $(TargetPath) "..\Debug\SDK Files\x64\VeraCryptFormat.dll"
|
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>
|
copy VeraCryptFormatSDK.h "..\Debug\SDK Files\VeraCryptFormatSDK.h"</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
@@ -222,7 +225,7 @@ copy VeraCryptFormatSDK.h "..\Debug\SDK Files\VeraCryptFormatSDK.h"</Command>
|
|||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>md "..\Debug\SDK Files\arm64" 2>NUL:
|
<Command>md "..\Debug\SDK Files\arm64" 2>NUL:
|
||||||
copy $(TargetPath) "..\Debug\SDK Files\arm64\VeraCryptFormat.dll"
|
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>
|
copy VeraCryptFormatSDK.h "..\Debug\SDK Files\VeraCryptFormatSDK.h"</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
@@ -251,7 +254,7 @@ copy VeraCryptFormatSDK.h "..\Debug\SDK Files\VeraCryptFormatSDK.h"</Command>
|
|||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>md "..\Release\SDK Files\x64" 2>NUL:
|
<Command>md "..\Release\SDK Files\x64" 2>NUL:
|
||||||
copy $(TargetPath) "..\Release\SDK Files\x64\VeraCryptFormat.dll"
|
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"
|
copy VeraCryptFormatSDK.h "..\Release\SDK Files\VeraCryptFormatSDK.h"
|
||||||
</Command>
|
</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
@@ -281,7 +284,7 @@ copy VeraCryptFormatSDK.h "..\Release\SDK Files\VeraCryptFormatSDK.h"
|
|||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>md "..\Release\SDK Files\arm64" 2>NUL:
|
<Command>md "..\Release\SDK Files\arm64" 2>NUL:
|
||||||
copy $(TargetPath) "..\Release\SDK Files\arm64\VeraCryptFormat.dll"
|
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>
|
copy VeraCryptFormatSDK.h "..\Release\SDK Files\VeraCryptFormatSDK.h"</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|||||||
@@ -141,4 +141,9 @@
|
|||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="FormatDLL.rc">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
Reference in New Issue
Block a user