randomx.vcxproj 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <ItemGroup Label="ProjectConfigurations">
  4. <ProjectConfiguration Include="Debug|Win32">
  5. <Configuration>Debug</Configuration>
  6. <Platform>Win32</Platform>
  7. </ProjectConfiguration>
  8. <ProjectConfiguration Include="Release|Win32">
  9. <Configuration>Release</Configuration>
  10. <Platform>Win32</Platform>
  11. </ProjectConfiguration>
  12. <ProjectConfiguration Include="Debug|x64">
  13. <Configuration>Debug</Configuration>
  14. <Platform>x64</Platform>
  15. </ProjectConfiguration>
  16. <ProjectConfiguration Include="Release|x64">
  17. <Configuration>Release</Configuration>
  18. <Platform>x64</Platform>
  19. </ProjectConfiguration>
  20. </ItemGroup>
  21. <PropertyGroup Label="Globals">
  22. <VCProjectVersion>15.0</VCProjectVersion>
  23. <ProjectGuid>{3346A4AD-C438-4324-8B77-47A16452954B}</ProjectGuid>
  24. <RootNamespace>randomx</RootNamespace>
  25. <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  26. </PropertyGroup>
  27. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  28. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  29. <ConfigurationType>StaticLibrary</ConfigurationType>
  30. <UseDebugLibraries>true</UseDebugLibraries>
  31. <PlatformToolset>v143</PlatformToolset>
  32. <CharacterSet>MultiByte</CharacterSet>
  33. </PropertyGroup>
  34. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  35. <ConfigurationType>StaticLibrary</ConfigurationType>
  36. <UseDebugLibraries>false</UseDebugLibraries>
  37. <PlatformToolset>v143</PlatformToolset>
  38. <WholeProgramOptimization>true</WholeProgramOptimization>
  39. <CharacterSet>MultiByte</CharacterSet>
  40. </PropertyGroup>
  41. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  42. <ConfigurationType>StaticLibrary</ConfigurationType>
  43. <UseDebugLibraries>true</UseDebugLibraries>
  44. <PlatformToolset>v143</PlatformToolset>
  45. <CharacterSet>MultiByte</CharacterSet>
  46. </PropertyGroup>
  47. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  48. <ConfigurationType>StaticLibrary</ConfigurationType>
  49. <UseDebugLibraries>false</UseDebugLibraries>
  50. <PlatformToolset>v143</PlatformToolset>
  51. <WholeProgramOptimization>true</WholeProgramOptimization>
  52. <CharacterSet>MultiByte</CharacterSet>
  53. </PropertyGroup>
  54. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  55. <ImportGroup Label="ExtensionSettings">
  56. <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
  57. </ImportGroup>
  58. <ImportGroup Label="Shared">
  59. </ImportGroup>
  60. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  61. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  62. </ImportGroup>
  63. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  64. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  65. </ImportGroup>
  66. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  67. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  68. </ImportGroup>
  69. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  70. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  71. </ImportGroup>
  72. <PropertyGroup Label="UserMacros" />
  73. <PropertyGroup />
  74. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  75. <ClCompile>
  76. <WarningLevel>Level3</WarningLevel>
  77. <Optimization>Disabled</Optimization>
  78. <SDLCheck>false</SDLCheck>
  79. <ConformanceMode>true</ConformanceMode>
  80. </ClCompile>
  81. </ItemDefinitionGroup>
  82. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  83. <ClCompile>
  84. <WarningLevel>Level4</WarningLevel>
  85. <Optimization>Disabled</Optimization>
  86. <SDLCheck>false</SDLCheck>
  87. <ConformanceMode>true</ConformanceMode>
  88. </ClCompile>
  89. </ItemDefinitionGroup>
  90. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  91. <ClCompile>
  92. <WarningLevel>Level3</WarningLevel>
  93. <Optimization>MaxSpeed</Optimization>
  94. <FunctionLevelLinking>true</FunctionLevelLinking>
  95. <IntrinsicFunctions>true</IntrinsicFunctions>
  96. <SDLCheck>false</SDLCheck>
  97. <ConformanceMode>true</ConformanceMode>
  98. <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
  99. </ClCompile>
  100. <Link>
  101. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  102. <OptimizeReferences>true</OptimizeReferences>
  103. <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
  104. <Profile>false</Profile>
  105. </Link>
  106. </ItemDefinitionGroup>
  107. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  108. <ClCompile>
  109. <WarningLevel>Level4</WarningLevel>
  110. <Optimization>MaxSpeed</Optimization>
  111. <FunctionLevelLinking>true</FunctionLevelLinking>
  112. <IntrinsicFunctions>true</IntrinsicFunctions>
  113. <SDLCheck>false</SDLCheck>
  114. <ConformanceMode>true</ConformanceMode>
  115. <AssemblerOutput>AssemblyCode</AssemblerOutput>
  116. <PreprocessorDefinitions>_MBCS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  117. </ClCompile>
  118. <Link>
  119. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  120. <OptimizeReferences>true</OptimizeReferences>
  121. <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
  122. <Profile>false</Profile>
  123. <AdditionalOptions>
  124. </AdditionalOptions>
  125. <StackReserveSize>4194304</StackReserveSize>
  126. </Link>
  127. <PreBuildEvent>
  128. <Command>powershell -ExecutionPolicy Bypass -File .\h2inc.ps1 ..\src\configuration.h &gt; ..\src\asm\configuration.asm
  129. SET ERRORLEVEL = 0</Command>
  130. </PreBuildEvent>
  131. </ItemDefinitionGroup>
  132. <ItemGroup>
  133. <ClCompile Include="..\src\allocator.cpp" />
  134. <ClCompile Include="..\src\argon2_avx2.c">
  135. <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
  136. </ClCompile>
  137. <ClCompile Include="..\src\argon2_core.c" />
  138. <ClCompile Include="..\src\argon2_ref.c" />
  139. <ClCompile Include="..\src\argon2_ssse3.c" />
  140. <ClCompile Include="..\src\assembly_generator_x86.cpp" />
  141. <ClCompile Include="..\src\blake2_generator.cpp" />
  142. <ClCompile Include="..\src\blake2\blake2b.c" />
  143. <ClCompile Include="..\src\bytecode_machine.cpp" />
  144. <ClCompile Include="..\src\cpu.cpp" />
  145. <ClCompile Include="..\src\vm_compiled_light.cpp" />
  146. <ClCompile Include="..\src\vm_compiled.cpp" />
  147. <ClCompile Include="..\src\dataset.cpp" />
  148. <ClCompile Include="..\src\aes_hash.cpp" />
  149. <ClCompile Include="..\src\instruction.cpp" />
  150. <ClCompile Include="..\src\instructions_portable.cpp" />
  151. <ClCompile Include="..\src\vm_interpreted_light.cpp" />
  152. <ClCompile Include="..\src\vm_interpreted.cpp" />
  153. <ClCompile Include="..\src\jit_compiler_x86.cpp" />
  154. <ClCompile Include="..\src\randomx.cpp" />
  155. <ClCompile Include="..\src\superscalar.cpp" />
  156. <ClCompile Include="..\src\reciprocal.c" />
  157. <ClCompile Include="..\src\soft_aes.cpp" />
  158. <ClCompile Include="..\src\virtual_machine.cpp" />
  159. <ClCompile Include="..\src\virtual_memory.c" />
  160. </ItemGroup>
  161. <ItemGroup>
  162. <MASM Include="..\src\jit_compiler_x86_static.asm" />
  163. </ItemGroup>
  164. <ItemGroup>
  165. <ClInclude Include="..\src\allocator.hpp" />
  166. <ClInclude Include="..\src\argon2.h" />
  167. <ClInclude Include="..\src\argon2_core.h" />
  168. <ClInclude Include="..\src\assembly_generator_x86.hpp" />
  169. <ClInclude Include="..\src\blake2\blake2-impl.h" />
  170. <ClInclude Include="..\src\blake2\blake2.h" />
  171. <ClInclude Include="..\src\blake2\blamka-round-avx2.h" />
  172. <ClInclude Include="..\src\blake2\blamka-round-ref.h" />
  173. <ClInclude Include="..\src\blake2\blamka-round-ssse3.h" />
  174. <ClInclude Include="..\src\blake2\endian.h" />
  175. <ClInclude Include="..\src\blake2_generator.hpp" />
  176. <ClInclude Include="..\src\bytecode_machine.hpp" />
  177. <ClInclude Include="..\src\common.hpp" />
  178. <ClInclude Include="..\src\cpu.hpp" />
  179. <ClInclude Include="..\src\jit_compiler.hpp" />
  180. <ClInclude Include="..\src\jit_compiler_a64.hpp" />
  181. <ClInclude Include="..\src\jit_compiler_fallback.hpp" />
  182. <ClInclude Include="..\src\vm_compiled_light.hpp" />
  183. <ClInclude Include="..\src\vm_compiled.hpp" />
  184. <ClInclude Include="..\src\configuration.h" />
  185. <ClInclude Include="..\src\dataset.hpp" />
  186. <ClInclude Include="..\src\aes_hash.hpp" />
  187. <ClInclude Include="..\src\instruction.hpp" />
  188. <ClInclude Include="..\src\instruction_weights.hpp" />
  189. <ClInclude Include="..\src\vm_interpreted_light.hpp" />
  190. <ClInclude Include="..\src\vm_interpreted.hpp" />
  191. <ClInclude Include="..\src\intrin_portable.h" />
  192. <ClInclude Include="..\src\jit_compiler_x86_static.hpp" />
  193. <ClInclude Include="..\src\jit_compiler_x86.hpp" />
  194. <ClInclude Include="..\src\randomx.h" />
  195. <ClInclude Include="..\src\superscalar.hpp" />
  196. <ClInclude Include="..\src\program.hpp" />
  197. <ClInclude Include="..\src\reciprocal.h" />
  198. <ClInclude Include="..\src\soft_aes.h" />
  199. <ClInclude Include="..\src\superscalar_program.hpp" />
  200. <ClInclude Include="..\src\virtual_machine.hpp" />
  201. <ClInclude Include="..\src\virtual_memory.h" />
  202. </ItemGroup>
  203. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  204. <ImportGroup Label="ExtensionTargets">
  205. <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
  206. </ImportGroup>
  207. </Project>