[cmake-developers] Android platform file

Brad King brad.king at kitware.com
Mon Mar 17 09:58:27 EDT 2014


On 03/04/2014 01:23 PM, Stephen Kelly wrote:
> Linux-{GNU,Clang}.cmake and dependents only exist for historical reasons 
> apparently. 

More precisely: These files are the modern way of specifying
information specific to this combination of target platform and
toolchain.  However, no such information is needed for this
particular combination except -rdynamic for historical reasons.

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

I see you proposed the change here:

 Add an Andriod platform file.
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f6cf7871

However, I do not think the line

 set(Android 1)

should appear.  Projects can test CMAKE_SYSTEM_NAME if needed.
If we do want a helper name it should be all UPPERCASE as it
is for other platforms.

Thanks,
-Brad




More information about the cmake-developers mailing list