Changed dashes to underscores in all build type names. This avoids CMake's 2.8.11.x new exclusion of '-' and '+' in generator expressions.
Completed name changes.
Added appropriate "/NODEFAULTLIB" directives to ldflags for windows for all build types.
Added calls to OutputDebugString() to display the error messages to the VisualStudio Output Window before the exception is thrown.
Added new line after message string that is passed to OutputDebugString() to make the message readable.
Formatted the output printed the OutputWindow for easier reading.
Print error message to standard error under Windows.  In addition to the error message being printed to the Output Window it is now printed to the Command Consile.  This will allow the user to see the error message when running in the debugger or running from a command prompt.
Merge branch 'cmake-generator-exp-fix-0'
Backup. Merging cmake fixes into master.