diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/external_dependencies/cpr/nuget/build | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/external_dependencies/cpr/nuget/build')
-rw-r--r-- | Src/external_dependencies/cpr/nuget/build/native/libcpr.props | 29 | ||||
-rw-r--r-- | Src/external_dependencies/cpr/nuget/build/native/libcpr.targets | 6 |
2 files changed, 35 insertions, 0 deletions
diff --git a/Src/external_dependencies/cpr/nuget/build/native/libcpr.props b/Src/external_dependencies/cpr/nuget/build/native/libcpr.props new file mode 100644 index 00000000..ec62c503 --- /dev/null +++ b/Src/external_dependencies/cpr/nuget/build/native/libcpr.props @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" + ToolsVersion="15.0"> + <PropertyGroup> + <LibraryType Condition="'$(Configuration)'=='Debug'">mdd</LibraryType> + <LibraryType Condition="'$(Configuration)'=='Release'">md</LibraryType> + </PropertyGroup> + <ItemGroup> + <CprLibs Include="$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\lib\*.lib" /> + </ItemGroup> + <ItemGroup> + <CprDlls Include="$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\bin\*.dll" /> + <None Include="@(CprDlls)"> + <Link>%(RecursiveDir)%(FileName)%(Extension)</Link> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + </ItemGroup> + <PropertyGroup> + <CprLibraries>@(CprLibs)</CprLibraries> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\include</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <AdditionalDependencies>$(CprLibraries);%(AdditionalDependencies)</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> +</Project>
\ No newline at end of file diff --git a/Src/external_dependencies/cpr/nuget/build/native/libcpr.targets b/Src/external_dependencies/cpr/nuget/build/native/libcpr.targets new file mode 100644 index 00000000..700232bf --- /dev/null +++ b/Src/external_dependencies/cpr/nuget/build/native/libcpr.targets @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Target Name="PlatformCheck" BeforeTargets="InjectReference" Condition="(('$(Platform)' != 'x86') AND ('$(Platform)' != 'x64')) AND ('$(Platform)' != 'Win32'))"> + <Error Text="$(MSBuildThisFileName) does not work correctly on this platform: '$(Platform)'. You need to specify platform x86, x64, or Win32." /> + </Target> +</Project>
\ No newline at end of file |