FindCUDA: Use the PRE_LINK mode only for MSVC >= 10

Use normal custom command dependencies by default.  Use the PRE_LINK
approach only to work around what seems to be a bug in msbuild handling
of custom build rules that chain together.
Determine C/CXX/Fortran compiler: minor restructuring

No functional changes, only change the way the if()-condition works,
to make it easier to add more cases.

Alex
Determine C/CXX/Fortran compiler: fix indentation

Alex
rename TI_DSP toolchain to TI, since it works also for the ARM compiler

Additionally, look for a special ar and strip

Alex
TI compiler: add automatic detection of prefix and suffixes

The TI cross compilers are named e.g. cl6x or armcl, the accompanying
strip and ar have the same prefixes/suffixes.

Alex
Document that CMAKE_AUTOMOC works with Qt 5.
FindQt4: If Qt5 is in CMAKE_PREFIX_PATH, be sure to find Qt4 includes.
FindQt4: Set the Qt4_FOUND variable if Qt4 is found

Provide the old QT4_FOUND for compatibility.
FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore

With a similar commit in Qt 5, this will error at CMake time if
an attempt is made to use

 target_link_libraries(foo Qt4::QtCore Qt5::Core)
FPHSA: Fix FOUND_VAR check to work with if() auto-dereference

Otherwise, it seems to match on the content of the variable.
Merge topic 'FindCUDA.cmake/SeparableCompilation'

b6e9b8f FindCUDA: Use the PRE_LINK mode only for MSVC >= 10
Merge topic 'TI_DSP_to_TI'

27e6f6e TI compiler: add automatic detection of prefix and suffixes
b301586 rename TI_DSP toolchain to TI, since it works also for the ARM compiler
12b25df Determine C/CXX/Fortran compiler: fix indentation
7baa55a Determine C/CXX/Fortran compiler: minor restructuring
Merge topic 'set-Qt4_FOUND'

28d14f9 FindQt4: Set the Qt4_FOUND variable if Qt4 is found
Merge topic 'set-QT_MAJOR_VERSION'

4aa10cd FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore
Merge topic 'CMAKE_AUTOMOC-Qt5-docs'

1b386b3 Document that CMAKE_AUTOMOC works with Qt 5.
Merge topic 'fix-FPHSA-match'

78e6217 FPHSA: Fix FOUND_VAR check to work with if() auto-dereference
Merge topic 'findqt4-withqt5'

252bfd3 FindQt4: If Qt5 is in CMAKE_PREFIX_PATH, be sure to find Qt4 includes.