libcpr.props 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
  3. ToolsVersion="15.0">
  4. <PropertyGroup>
  5. <LibraryType Condition="'$(Configuration)'=='Debug'">mdd</LibraryType>
  6. <LibraryType Condition="'$(Configuration)'=='Release'">md</LibraryType>
  7. </PropertyGroup>
  8. <ItemGroup>
  9. <CprLibs Include="$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\lib\*.lib" />
  10. </ItemGroup>
  11. <ItemGroup>
  12. <CprDlls Include="$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\bin\*.dll" />
  13. <None Include="@(CprDlls)">
  14. <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
  15. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  16. </None>
  17. </ItemGroup>
  18. <PropertyGroup>
  19. <CprLibraries>@(CprLibs)</CprLibraries>
  20. </PropertyGroup>
  21. <ItemDefinitionGroup>
  22. <ClCompile>
  23. <AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\include</AdditionalIncludeDirectories>
  24. </ClCompile>
  25. <Link>
  26. <AdditionalDependencies>$(CprLibraries);%(AdditionalDependencies)</AdditionalDependencies>
  27. </Link>
  28. </ItemDefinitionGroup>
  29. </Project>