VS: Save WindowsPhone and WindowsStore system internally

Add boolean members to the VS >= 10 global generator to save
whether CMAKE_SYSTEM_NAME is WindowsPhone or WindowsStore
without having to repeat a string comparison.

Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
VS: Select WindowsPhone and WindowsStore default toolsets

Teach the VS >= 10 generators to recognize these system names and select
the appropriate default toolset for the system version.  Report an error
when the version is not known to be supported by VS.

Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
CMakeDetermineCompilerId: Recognize WindowsPhone and WindowsStore

When CMAKE_SYSTEM_NAME is set to target one of these, add
ApplicationType and ApplicationTypeRevision elements to the .vcxproj
file used to identify the compiler so that the WindowsPhone or
WindowsStore toolchains can work.

Co-Author: Brad King <brad.king@kitware.com>
Add WindowsPhone and WindowsStore platform information modules

Simply include the "Windows" platform equivalents.  This will allow
-DCMAKE_SYSTEM_NAME=WindowsPhone or -DCMAKE_SYSTEM_NAME=WindowsStore to
select variants of the Windows platform while re-using most of the
platform information from "Windows".
Define 'WINDOWS_PHONE' and 'WINDOWS_STORE' variables

Set one of these when CMAKE_SYSTEM_NAME is "WindowsPhone" or
"WindowsStore", respectively.
MSVC: Disable incremental linking for WindowsPhone and WindowsStore

Do not add a "/INCREMENTAL" flag when using the toolchains for these
systems.
MSVC: Add default WindowsPhone and WindowsStore compile flags

Also set the list of standard libraries to empty.
MSVC: Add system libs for WindowsPhone and WindowsStore

Use the libraries that are added by default by the VS 2013 IDE
for Windows Phone and Windows Store projects.
VS: Add .sln "Deploy" mark for WindowsPhone and WindowsStore binaries
VS: Generate WindowsPhone and WindowsStore application types

Generate the ApplicationType and ApplicationTypeRevision elements in
.vcxproj files.
VS: Set WindowsPhone and WindowsStore min VS version required

Generate the MinimumVisualStudioVersion element in the .vcxproj file
based on the version of WindowsPhone or WindowsStore to be targeted.
CMakePackageConfigHelpers: Remove unused variable
Help: Add notes for topic 'vs-windows-phone-and-store'
Doxygen: Add CPack/IFW subdir to doxyfile.in INPUT section
Doxygen: Add STRIP_FROM_PATH variable to doxyfile.in

This helps to better perceive information
CMP0047: Fix CMAKE_COMPILER_IS_GNU(CC|CXX) in OLD behavior

The implementation of CMP0047 detects the QNX compiler id internally,
then changes it to GNU after the language is fully enabled.  This is too
late to correctly set the old IS_GNU variables, so set them as part of
the policy OLD behavior.

Reported-by: Mike Lattanzio <mlattanzio@blackberry.com>
CMP0047: Fix CMAKE_COMPILER_IS_GNU(CC|CXX) in OLD behavior

The implementation of CMP0047 detects the QNX compiler id internally,
then changes it to GNU after the language is fully enabled.  This is too
late to correctly set the old IS_GNU variables, so set them as part of
the policy OLD behavior.

Reported-by: Mike Lattanzio <mlattanzio@blackberry.com>
BundleUtilities: Allow Info.plist files which use CR line endings

Convert \r to our internal end-of-line character just as we do \n.

Signed-off-by: Tim Blechmann <tim@klingt.org>
BundleUtilities: Allow Info.plist files which use CR line endings

Convert \r to our internal end-of-line character just as we do \n.

Signed-off-by: Tim Blechmann <tim@klingt.org>
KWIML: Teach ABI.h about OpenRISC 1000

It defines __or1k__ and is big endian.