Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,227
    • Issues 3,227
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Merge Requests
  • !254

Merged
Opened Nov 14, 2016 by Brad King@brad.kingOwner

Android: Expose more toolchain and NDK information to clients

  • Overview 10
  • Commits 3
  • Pipelines 1
  • Changes 12

Expose additional information to clients in Android builds:

  • CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION: Set this to the default-selected toolchain version when it is not set by the user.
  • CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG: The NDK prebuilt toolchain host directory name (e.g. linux-x86_64).
  • CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE: The toolchain target machine (gcc -dumpmachine).

These values are not needed for compiling within CMake but can be useful to clients that need to pass them to external tools.

For reference, this is inspired by discussion on the mailing list:

  • Nov 2016: Android variables
Assignee
Assign to
Reviewer
Request review from
3.8.0
Milestone
3.8.0 (Past due)
Assign milestone
Time tracking
Reference: cmake/cmake!254
Source branch: android-info-variables