Skip to content

Commit

Permalink
Add mlrt_ncnn.rc and change again the name
Browse files Browse the repository at this point in the history
  • Loading branch information
Asd-g committed Jan 27, 2023
1 parent 5be7864 commit fe6b012
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion msvc_ncnn/avs_mlrt_ncnn.sln → msvc_ncnn/mlrt_ncnn.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32616.157
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "avs_mlrt_ncnn", "avs_mlrt_ncnn.vcxproj", "{5BD94290-D860-4EE1-A030-DD4501BDD4E6}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mlrt_ncnn", "mlrt_ncnn.vcxproj", "{5BD94290-D860-4EE1-A030-DD4501BDD4E6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<ProjectGuid>{5BD94290-D860-4EE1-A030-DD4501BDD4E6}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<ProjectName>avs_mlrt_ncnn</ProjectName>
<ProjectName>mlrt_ncnn</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Expand Down Expand Up @@ -146,6 +146,9 @@
<ItemGroup>
<ClInclude Include="..\src\ncnn\onnx2ncnn.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\ncnn\mlrt_ncnn.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
File renamed without changes.
29 changes: 29 additions & 0 deletions src/ncnn/mlrt_ncnn.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include <winver.h>

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0x0L
FILEOS VOS__WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "Comments", "ML filter runtimes."
VALUE "FileDescription", "mlrt_ncnn for AviSynth+."
VALUE "FileVersion", "1.0.0"
VALUE "InternalName", "mlrt_ncnn"
VALUE "OriginalFilename", "mlrt_ncnn.dll"
VALUE "ProductName", "mlrt_ncnn"
VALUE "ProductVersion", "1.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END

0 comments on commit fe6b012

Please sign in to comment.