[cmake-developers] [PATCH] VS, WINCE: Fix entry point for Unicode builds

Brad King brad.king at kitware.com
Tue Dec 2 09:34:23 EST 2014


On 12/02/2014 07:33 AM, Pascal Bach wrote:
> When _UNICODE is defined VS uses wmain instead of main as the entry function.
> To make this correctly work on WindowsCE EntryPointSymbol needs to be set to
> mainWCRTStartup instead of mainWCRTStartup for console applications and to
> wWinMainCRTStartup instead of WinMainCRTStartup for GUI applications.

Thanks, applied:

 VS, WINCE: Fix entry point for Unicode builds
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a4962595

-Brad



More information about the cmake-developers mailing list