libks.vcxproj 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. </PropertyGroup>
  27. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  28. <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  29. <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
  30. <OpenSSLPlatform>x86</OpenSSLPlatform>
  31. </PropertyGroup>
  32. <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  33. <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
  34. <OpenSSLPlatform>x64</OpenSSLPlatform>
  35. </PropertyGroup>
  36. <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  37. <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
  38. <OpenSSLPlatform>x86</OpenSSLPlatform>
  39. </PropertyGroup>
  40. <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  41. <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
  42. <OpenSSLPlatform>x64</OpenSSLPlatform>
  43. </PropertyGroup>
  44. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  45. <Import Project="buildpackages.task" />
  46. <Import Project="libks-version.props" />
  47. <Import Project="openssl-version.props" />
  48. <PropertyGroup Label="UserMacros" />
  49. <Target Name="Build">
  50. <MakeDir Directories="../build-$(Platform)" />
  51. <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 $(DefaultPlatformToolset)" WorkingDirectory="../build-$(Platform)" />
  52. <MsBuild Projects="$(libksLibDir)\build-$(Platform)\ks2.vcxproj" Properties="Configuration=$(Configuration);Platform=$(Platform)" />
  53. </Target>
  54. </Project>