[cmake-developers] [PATCH] WINCE, VS: Allow selecting an SDK for Windows CE on Visual Studio

Bach, Pascal pascal.bach at siemens.com
Fri Sep 12 03:42:35 EDT 2014


> On 09/05/2014 03:53 PM, Brad King wrote:
> > I think "CMAKE_GENERATOR_PLATFORM" may be a suitable name.  Ideally
> > this setting should be added as a general-purpose replacement for
> > putting "ARM" or "Win64" in the generator name.  The changes for
> > that are more sweeping than I'd like to ask of you just for WinCE
> > support, so I drafted them myself.
> 
> This is now in 'master'.
> 

I tried master and the Platform selections works great. Thanks.

Now in order to have it fully working on WindowsCE the following issues remain:
1. The subsystem for EXE and DLL currently it is set to Console or Windows depending on the WIN32_EXECUTABLE property of the target. For WinCE the subsystem needs to be always set to WindowsCE and the entry point needs to change based on the WIN32_EXECUTABLE property.

2. The Toolset variable needs to be set manually using CMAKE_GENERATOR_TOOLSET and it needs to match the selected Windows CE version.

I'm updating my earlier patch to address this issue and I hope I can send it in today.

Pascal



More information about the cmake-developers mailing list