[CMake] Platform Finding modules

Laszlo Papp lpapp at kde.org
Tue Nov 29 09:30:13 EST 2011


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.

An example for using such a feature:
I would like to set something according to the actual platform, like
which compilation unit to build (like the relevant standalone only for
that given platform) and so on.

Thank you in advance!

Best Regards,
Laszlo Papp


More information about the CMake mailing list