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:
Brad King
2016-08-23 13:08:53 -04:00
parent c2f561e58c
commit 7b637ebdc9
4 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
ANDROID
-------
Set to ``1`` when the target system (:variable:`CMAKE_SYSTEM_NAME`) is
``Android``.