[[PageOutline]] Various cmake modules are used by the flair build system. They are located in [source:flair-dev/trunk/cmake-modules flair-dev]. = Cmake modules = == [source:flair-dev/trunk/cmake-modules/ArchDir.cmake ArchDir.cmake] == Retrieves the arch name from the toolchain file (''toolchain.cmake''). It is used to install files in the correct folders, and to check if a lib, demo or tool is compatible with a specific architecture or not. It also checks if host architecture is i686, as it is not supported. == [source:flair-dev/trunk/cmake-modules/ColoredMessage.cmake ColoredMessage.cmake] == Defines some cmake functions to have colored messages. == [source:flair-dev/trunk/cmake-modules/FindXenomai.cmake FindXenomai.cmake] == Find xenomai lib and defines some variables useful for cmake. == [source:flair-dev/trunk/cmake-modules/GlobalCmakeFlair.cmake GlobalCmakeFlair.cmake] == reimplements some cmake built in functions == [source:flair-dev/trunk/cmake-modules/FlairUseFile.cmake FlairUseFile.cmake] == used by demos/tools, it helps adding include dirs and libraries for programs using flair