[cmake-developers] Android platform file

Stephen Kelly steveire at gmail.com
Tue Mar 4 13:23:37 EST 2014


Brad King wrote:

> On 03/04/2014 11:38 AM, Stephen Kelly wrote:
>>> If the CMAKE_SYSTEM_NAME is Android then all the Platform/Linux-*.cmake
>>> files need to have Platform/Android-*.cmake forwarding files created.
>> 
>> Any reason not to prefer this?
> 
> Actually we don't need to forward *all* of them, only those for
> toolchains that can target Android.  This approach would be fine
> with me.

That would be Linux-{GNU,Clang}* I guess.

Linux-{GNU,Clang}.cmake and dependents only exist for historical reasons 
apparently. 

With Android being a green field, it looks like we only need an 
Android.cmake file.

Thanks,

Steve.





More information about the cmake-developers mailing list