MantisBT - CMake
View Issue Details
0014604CMakeCMakepublic2013-11-28 03:402016-06-10 14:31
Flynn Marquardt 
Kitware Robot 
normalfeaturealways
closedmoved 
CMake 2.8.12 
 
0014604: Add support for compiling Windows CE with GNUC (mingw32ce)
Cmake has already some support for cross compiling for windows CE, but misses the support for the GNU-C compiler (mingw32ce).

The supplied patch fixes an issue initializing CMAKE_C_STANDARD_LIBRARIES_INIT with libraries, that do not exist on windows CE.
No tags attached.
patch cmake-wince-mingw32ce.patch (833) 2013-11-28 03:40
https://public.kitware.com/Bug/file/4982/cmake-wince-mingw32ce.patch
patch cmake-wince-mingw32ce-2.patch (775) 2013-12-03 02:20
https://public.kitware.com/Bug/file/4993/cmake-wince-mingw32ce-2.patch
Issue History
2013-11-28 03:40Flynn MarquardtNew Issue
2013-11-28 03:40Flynn MarquardtFile Added: cmake-wince-mingw32ce.patch
2013-12-02 10:12Brad KingNote Added: 0034669
2013-12-03 02:18Flynn MarquardtNote Added: 0034685
2013-12-03 02:20Flynn MarquardtFile Added: cmake-wince-mingw32ce-2.patch
2013-12-03 03:09Patrick R. GanstererNote Added: 0034686
2013-12-05 11:20Brad KingNote Added: 0034724
2016-06-10 14:29Kitware RobotNote Added: 0042436
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0034669)
Brad King   
2013-12-02 10:12   
There must be a better way to recognize WinCE when using the mingw compiler than testing the executable name.
(0034685)
Flynn Marquardt   
2013-12-03 02:18   
If CMAKE_SYSTEM_NAME ist set in the CMAKE_TOOLCHAIN_FILE file, then we can use this variable. This is also needed cross compiling with MSVC for windows CE.
(0034686)
Patrick R. Gansterer   
2013-12-03 03:09   
Please set the variable WINCE to 1 (like it's done for MSVC) and change it to if(WINCE)
(0034724)
Brad King   
2013-12-05 11:20   
Please look at the request in 0014604:0034686. The equivalent code for MSVC is here:

 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/Platform/Windows-MSVC.cmake;hb=v2.8.12.1#l41 [^]

Something similar should appear in Windows-GNU.cmake. Furthermore you will need to add WindowsCE-GNU.cmake, WindowsCE-GNU-C.cmake, and WindowsCE-GNU-CXX.cmake following the pattern of WindowsCE-MSVC* files.
(0042436)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.