##############################################################################
#
#  CMakeModules
#
#  Modules and Macros for building ilcsoft tools
#  with cmake
#
#  Author J.Engels, DESY
#  Jun, 2007
#
##############################################################################

 
Description:
------------
This package contains cmake modules, utility macros and default settings needed
to build ilcsoft tools with cmake. Cmake modules consist of Find<PkgName>.cmake
files used to find external tools (e.g. GSL, CLHEP) and to set appropriate
variables to use in other packages in order to build with the given package, e.g.:

FIND_PACKAGE( GSL )
IF( GSL_FOUND )
    INCLUDE_DIRECTORIES( ${GSL_INCLUDE_DIRS} )
    LINK_LIBRARIES( ${GSL_LIBRARIES} )
ENDIF( GSL_FOUND )

Utility macros are used among the ilcsoft tools to keep the CMakeLists files
more readable and maintainable.

Default settings are loaded in (almost) all ilcsoft tools to ensure consistency
among all tools, e.g. to build all tools in 32bit uncomment the following line in
ilcsoft_default_settings.cmake:
#INCLUDE( ilcsoft_build_32bit_compatible )

This should set the appropriate compiler and linker flags (-m32) to build binaries
and libraries in 32bit.

