Add separate ASM file for XGETBV64 and CPUID64 to Visual Studio cryptdll project (GH #1240)

Also see the comment in Commit 0432085157, where OgreTransporter made a comment about the deprecated cryptdll.vcxproj project.
This commit is contained in:
Jeffrey Walton 2023-10-21 20:01:14 -04:00
parent af7d1050bf
commit 1e20219ecd
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
3 changed files with 10 additions and 2 deletions

View File

@ -173,6 +173,11 @@
<Command>ml64.exe /c /nologo /D_M_X64 /W3 /Zi /Fo"$(IntDir)x64dll.obj" "%(FullPath)"</Command>
<Outputs>$(IntDir)x64dll.obj;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Condition="'$(Platform)'=='x64' AND ('$(Configuration)'=='Debug' Or '$(Configuration)'=='Release')" Include="cpuid64.asm">
<Message>Building and assembling cpuid64.asm</Message>
<Command>ml64.exe /c /nologo /D_M_X64 /W3 /Zi /Fo"$(IntDir)cpuid64.obj" "%(FullPath)"</Command>
<Outputs>$(IntDir)cpuid64.obj;%(Outputs)</Outputs>
</CustomBuild>
</ItemGroup>
<!-- Source Files -->
<ItemGroup>

View File

@ -449,5 +449,8 @@
<CustomBuild Include="x64dll.asm">
<Filter>Source Files</Filter>
</CustomBuild>
<CustomBuild Include="cpuid64.asm">
<Filter>Source Files</Filter>
</CustomBuild>
</ItemGroup>
</Project>

View File

@ -368,8 +368,8 @@
<None Include="Readme.txt" />
</ItemGroup>
<ItemGroup>
<CustomBuild Condition="'$(Platform)'=='x64'" Include="cpuid64.asm">
<Message>Building and Assembling cpuid64.asm</Message>
<CustomBuild Condition="'$(Platform)'=='x64' AND ('$(Configuration)'=='Debug' Or '$(Configuration)'=='Release')" Include="cpuid64.asm">
<Message>Building and assembling cpuid64.asm</Message>
<Command>ml64.exe /c /nologo /D_M_X64 /W3 /Zi /Fo"$(IntDir)cpuid64.obj" "%(FullPath)"</Command>
<Outputs>$(IntDir)cpuid64.obj;%(Outputs)</Outputs>
</CustomBuild>