Skip to content

Commit 4bd0006

Browse files
committed
Updating version in Nuget packages, and adding x86 support for Android NuGet package.
1 parent 06d83e8 commit 4bd0006

File tree

6 files changed

+157
-147
lines changed

6 files changed

+157
-147
lines changed

Release/nuget/cpprestsdk.android.nuspec

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>cpprestsdk.android</id>
5-
<version>2.3.0.1</version>
5+
<version>2.4.0</version>
66
<title>C++ REST SDK - Android</title>
77
<authors>casablancacore</authors>
88
<owners>Microsoft, Visual C++</owners>
@@ -12,7 +12,7 @@
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<summary>The C++ REST SDK is a cross-platform, modern, and asynchronous library that enables developers to access and author connected applications</summary>
1414
<description>This library is a Microsoft effort to support cloud-based client-server communication in native code using a modern asynchronous C++ API design. The C++ REST SDK (codename "Casablanca") is a project to start exploring how to best support C++ developers who want to take advantage of the radical shift in software architecture that cloud computing represents.</description>
15-
<releaseNotes>Release of C++ Rest SDK 2.3.0 libraries for android.</releaseNotes>
15+
<releaseNotes>Release of C++ Rest SDK 2.4.0 libraries for android.</releaseNotes>
1616
<copyright>Copyright 2014</copyright>
1717
<tags>REST, native, C++, JSON, Casablanca, Http, Uri, WebSockets, android</tags>
1818
<dependencies>
@@ -32,8 +32,10 @@
3232
<file src="..\include\**\*" target="\build\native\include\" />
3333

3434
<!-- clang-3.4 -->
35-
<file src="..\..\Binaries\ARM\Release\cpprest140_android_2_3.a" target="\build\native\lib\arm\libcpprest-clang_3_4-gnustl-2_3.a" />
36-
<file src="..\..\Binaries\ARM\Debug\cpprest140d_android_2_3.a" target="\build\native\lib\arm\libcpprest-clang_3_4-d-gnustl-2_3.a" />
35+
<file src="..\..\Binaries\ARM\Release\cpprest140_android_2_4.a" target="\build\native\lib\arm\libcpprest-clang_3_4-gnustl-2_4.a" />
36+
<file src="..\..\Binaries\ARM\Debug\cpprest140d_android_2_4.a" target="\build\native\lib\arm\libcpprest-clang_3_4-d-gnustl-2_4.a" />
37+
<file src="..\..\Binaries\x86\Release\cpprest140_android_2_4.a" target="\build\native\lib\x86\libcpprest-clang_3_4-gnustl-2_4.a" />
38+
<file src="..\..\Binaries\x86\Debug\cpprest140d_android_2_4.a" target="\build\native\lib\x86\libcpprest-clang_3_4-d-gnustl-2_4.a" />
3739

3840
<!-- Including license for WebSocket++ -->
3941
<file src="..\libs\websocketpp\COPYING" target="\license\websocketpp\COPYING" />

Release/nuget/cpprestsdk.android.targets

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<CppRestSDKVersionMajor>2</CppRestSDKVersionMajor>
5-
<CppRestSDKVersionMinor>3</CppRestSDKVersionMinor>
5+
<CppRestSDKVersionMinor>4</CppRestSDKVersionMinor>
66
<CppRestSDKVersionRevision>0</CppRestSDKVersionRevision>
77
<CppRestSDKVersionFileSuffix>$(CppRestSDKVersionMajor)_$(CppRestSDKVersionMinor)</CppRestSDKVersionFileSuffix>
88
</PropertyGroup>
@@ -29,6 +29,7 @@
2929
</ItemGroup>
3030

3131
<Target Name="cpprestsdk_android_PreLink" BeforeTargets="@(CppRestSDKTargetDependencies);Link" DependsOnTargets="$(ComputeLinkInputsTargets)">
32+
3233
<!-- ARM and Clang and GNUSTL and Debug -->
3334
<ItemGroup Condition="'$(Platform)' == 'ARM' And '$(PlatformToolset)' == 'Clang_3_4' And ('$(UseOfStl)' == 'gnustl_shared' Or '$(UseOfStl)' == 'gnustl_static') And '$(UseDebugLibraries)' == 'true'">
3435
<Link Include="$(MSBuildThisFileDirectory)lib\arm\libcpprest-clang_3_4-d-gnustl-$(CppRestSDKVersionFileSuffix).a" />
@@ -38,6 +39,15 @@
3839
<Link Include="$(MSBuildThisFileDirectory)lib\arm\libcpprest-clang_3_4-gnustl-$(CppRestSDKVersionFileSuffix).a" />
3940
</ItemGroup>
4041

42+
<!-- x86 and Clang and GNUSTL and Debug -->
43+
<ItemGroup Condition="'$(Platform)' == 'x86' And '$(PlatformToolset)' == 'Clang_3_4' And ('$(UseOfStl)' == 'gnustl_shared' Or '$(UseOfStl)' == 'gnustl_static') And '$(UseDebugLibraries)' == 'true'">
44+
<Link Include="$(MSBuildThisFileDirectory)lib\x86\libcpprest-clang_3_4-d-gnustl-$(CppRestSDKVersionFileSuffix).a" />
45+
</ItemGroup>
46+
<!-- x86 and Clang and GNUSTL and Release -->
47+
<ItemGroup Condition="'$(Platform)' == 'x86' And '$(PlatformToolset)' == 'Clang_3_4' And ('$(UseOfStl)' == 'gnustl_shared' Or '$(UseOfStl)' == 'gnustl_static') And '$(UseDebugLibraries)' != 'true'">
48+
<Link Include="$(MSBuildThisFileDirectory)lib\x86\libcpprest-clang_3_4-gnustl-$(CppRestSDKVersionFileSuffix).a" />
49+
</ItemGroup>
50+
4151
<Error
4252
Condition="'$(PlatformToolset)' != 'Clang_3_4'"
4353
Text="The cpprestsdk.android NuGet package only contains binaries for Clang 3.4."
@@ -46,9 +56,5 @@
4656
Condition="'$(UseOfStl)' != 'gnustl_shared' And '$(UseOfStl)' != 'gnustl_static'"
4757
Text="cpprestsdk requires linking against the gnustl. Please set Project Properties -> Configuration Properties -> General -> Use of STL to be 'gnustl_static'."
4858
/>
49-
<Error
50-
Condition="'$(Platform)' != 'ARM'"
51-
Text="The cpprestsdk.android NuGet package only contains binaries for the ARM architecture."
52-
/>
5359
</Target>
5460
</Project>

0 commit comments

Comments
 (0)