The Wayback Machine - https://web.archive.org/web/20201201012636/https://github.com/microsoft/cpprestsdk/pull/714/commits
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved the build process for cpprestsdk on Android #714

Closed
wants to merge 4 commits into from

Commits on Mar 8, 2018

  1. Improved the cpprestsdk build process on Android.

    The Android configure.sh shell script and CMake build files have
    been updated for cpprestsdk on Android with the following changes:
    
    - Added new --api and --stl command line switches to the
      Android_build/configure.sh shell script that control the Android
      API level and C++ runtime to build against.
    - Use the base CMake toolchain configuration files that come with
      Android NDK r13b and later if they are available (requires CMake
      3.6 or later to be installed on host system), otherwise fallback
      fallback to using the older third-party android-cmake.
    - Fix a few compilation errors when building with libc++ on Android,
      namely to do with assumptions of using libstdc++ paired with
      checked the ANDROID or __ANDROID__ preprocessor symbols.
    - Make use of the new features added in subsequent PRs for
      building OpenSSL and Boost for Android.
    
    Note that cpprestsdk seems to no longer build with libstdc++ 4.8
    or 4.9 library headers that ship with the Android NDKs due to the
    use of std::to_string introduced in commit
    6397261 so the default C++ runtime
    has been changed to c++_static in configure.sh for the time being.
    This problem can probably be fixed in a separate patch, as its
    outside of the scope of this one.
    Jesse Towner
    Jesse Towner committed Mar 8, 2018
  2. Added --boost and --openssl options to configure.sh to control

    the versions of these packages that are downloaded and built.
    
    Furthermore, the default version of Boost has been upgraded to
    1.59.0 as Boost 1.55.0 is no longer used by the Xbox Live SDK
    on Android.
    Jesse Towner
    Jesse Towner committed Mar 8, 2018
  3. Search for the same version of Boost that was specified for use in co…

    …nfigure.sh
    Jesse Towner
    Jesse Towner committed Mar 8, 2018
You can’t perform that action at this time.