> 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 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers