Compare compilers used during FairSoft compilation with the current compilers. Add compiler flags used during compilation of FairSoft to the urrennt compiler flags. This is done to be sure that one doesn't mix code compiled with c++11 and c++98. If there are different compilers found stop the CMake run to let the user decide what to do.
Extract teh version info from git, since we don't have any longer a subversion repository.
Filter the library dependencies for static libraries which are indicated by the extension'.a'. This is needed to avoid that these libraries are added during the generation of the rootmap files, which results in an runtime error message about not found libraries. Add also include directories defined in  to the used include directories when generating the dictionary. This new variable is used to define include directories as system ones. In this case the warnings which are produced from these include files are surpressed by the compiler.
Generate FairVersion.h in the correct way and with the correct version. During installation procedure the file is copied to the include directory.