[CMake] Platform Finding modules
Alexander Neundorf
a.neundorf-work at gmx.net
Tue Nov 29 12:20:48 EST 2011
On Tuesday 29 November 2011, Laszlo Papp wrote:
> Hi,
>
> Are there any modules to realize the fact what platform I build on top
> of ? I could imagine something like
> Find{Harmattan,Fremantle,Maemo,MeeGo,Tizen,AnyPlatform}.cmake in wider
> usage.
No, currently not.
These are basically different Linux distributions, is this an acceptable
approach ?
If so, maybe to Platforms/Linux.cmake code for detecting the distribution
could be added, and some variable could be set, e.g.
CMAKE_LINUX_DISTRIBUTION_NAME or something like this.
Does that sound reasonable ?
Alex
More information about the CMake
mailing list