mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-26 10:48:38 -06:00
Android: Add ANDROID variable to indicate the target
Allow projects to use `if(ANDROID)` to condition their Android-specific code paths.
This commit is contained in:
5
Help/variable/ANDROID.rst
Normal file
5
Help/variable/ANDROID.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
ANDROID
|
||||
-------
|
||||
|
||||
Set to ``1`` when the target system (:variable:`CMAKE_SYSTEM_NAME`) is
|
||||
``Android``.
|
||||
Reference in New Issue
Block a user