Skip to content

Commit

Permalink
Add separate ASM file for XGETBV64 and CPUID64 to Visual Studio crypt…
Browse files Browse the repository at this point in the history
…dll project (GH #1240)

Also see the comment in Commit 0432085, where OgreTransporter made a comment about the deprecated cryptdll.vcxproj project.
  • Loading branch information
noloader committed Oct 22, 2023
1 parent af7d105 commit 1e20219
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions cryptdll.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 3 additions & 0 deletions cryptdll.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -449,5 +449,8 @@
<CustomBuild Include="x64dll.asm">
<Filter>Source Files</Filter>
</CustomBuild>
<CustomBuild Include="cpuid64.asm">
<Filter>Source Files</Filter>
</CustomBuild>
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions cryptlib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1e20219

Please sign in to comment.