libks.2017.vcxproj 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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="Debug|x64">
  9. <Configuration>Debug</Configuration>
  10. <Platform>x64</Platform>
  11. </ProjectConfiguration>
  12. <ProjectConfiguration Include="Release|Win32">
  13. <Configuration>Release</Configuration>
  14. <Platform>Win32</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. <ProjectName>libks</ProjectName>
  23. <RootNamespace>libks</RootNamespace>
  24. <Keyword>Win32Proj</Keyword>
  25. <ProjectGuid>{EFFC9BFD-DE46-47E7-9EF1-564DC87E89A8}</ProjectGuid>
  26. <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
  27. </PropertyGroup>
  28. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  29. <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  30. <PlatformToolset>v141</PlatformToolset>
  31. <OpenSSLPlatform>x86</OpenSSLPlatform>
  32. </PropertyGroup>
  33. <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  34. <PlatformToolset>v141</PlatformToolset>
  35. <OpenSSLPlatform>x64</OpenSSLPlatform>
  36. </PropertyGroup>
  37. <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  38. <PlatformToolset>v141</PlatformToolset>
  39. <OpenSSLPlatform>x86</OpenSSLPlatform>
  40. </PropertyGroup>
  41. <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  42. <PlatformToolset>v141</PlatformToolset>
  43. <OpenSSLPlatform>x64</OpenSSLPlatform>
  44. </PropertyGroup>
  45. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  46. <Import Project="buildpackages.task" />
  47. <Import Project="libks-version.props" />
  48. <Import Project="openssl-version.props" />
  49. <PropertyGroup Label="UserMacros" />
  50. <Target Name="Build">
  51. <MakeDir Directories="../build-$(Platform)" />
  52. <Exec Command="cmake .. -DCMAKE_GENERATOR_PLATFORM=$(Platform) -DOPENSSL_INCLUDE_DIR=$(BaseDir)openssl-$(OpenSSLVersion)/include_$(OpenSSLPlatform)/;$(BaseDir)openssl-$(OpenSSLVersion)/include/ -DOPENSSL_LIBRARIES=$(BaseDir)openssl-$(OpenSSLVersion)/binaries/$(Platform)/$(Configuration)/lib -DOPENSSL_ROOT=$(BaseDir)openssl-$(OpenSSLVersion)/binaries/$(Platform)/$(Configuration)/ -T v141" WorkingDirectory="../build-$(Platform)" />
  53. <MsBuild Projects="$(libksLibDir)\build-$(Platform)\ks.vcxproj" Properties="Configuration=$(Configuration);Platform=$(Platform)" />
  54. </Target>
  55. </Project>