MantisBT - CMake
View Issue Details
0008102CMakeCMakepublic2008-11-14 14:272013-04-17 08:54
Clemens 
 
normalfeatureN/A
closedduplicate 
CMake-2-6 
CMake 2.8.11CMake 2.8.11 
0008102: CMake support for mobile platforms in Visual Studio 2005/2008
The patch included adds two new Visual Studio generators (2005 and 2008) to CMake which include platform support for SDKs for mobile devices. This mainly goes conform with the feature request from Andreas Pokorny (0007919) for WinCE support in NMake and uses his WINCE platform files.

The patch is against the original 2.6.2 release sources. Unfortunatly I could not create files named after the files modified, but all files in the archive are in unified diff format.

There are a few things I already mentioned in the forum.

# The generators include special link flag tables, which I find to be a useful feature also for upcoming releases of Visual Studio.

# Because introducing a new generator needs a really deep patch into cmake, the changes should be revised carefully (patched cmake.cxx, CMakefile.cxx etc.). However, we are testing the changes currently on multiple machines and they also work well with PPC2003/SmartPhone2003,WinMobile5,WinMobile6 and WinCE5.0.

# In principle the generators parse a file called WCE.VCPlatform.config residing in %STUDIODIR%\VC\vcpackages to get a list of SDKs installed. It also takes a list SDKs to use from a CMakeCache.txt to be copied to the build directory prior to configuration. Such a file might contain the following:

CMAKE_SYSTEM_NAME:STRING=WINCE
CMAKE_SYSTEM_VERSION:STRING=5.01
PLATFORM_SDKS:STRING=Windows Mobile 5.0 Pocket PC SDK (ARMV4I);Windows Mobile 5.0 Smartphone SDK (ARMV4I)
WM5:STRING=1

for Windows Mobile 5 for example. The generators only filter the platforms specified from all possible ones. However, if no cache file is supplied, it creates a configuration for all platforms installed.
No tags attached.
duplicate of 0007919closed Brad King Patch for Windows Platform files to add WinCE support with NMake 
related to 0008486closed Kitware Robot Additional platforms support (Windows CE and Symbian) 
zip cmake_2.6.2p_files.zip (33,906) 2008-11-14 14:27
https://public.kitware.com/Bug/file/1845/cmake_2.6.2p_files.zip
patch cmake-2.6.3.patch (121,540) 2009-02-24 03:45
https://public.kitware.com/Bug/file/2074/cmake-2.6.3.patch
patch cmake-2.6.3_1.patch (145,143) 2009-03-30 07:00
https://public.kitware.com/Bug/file/2145/cmake-2.6.3_1.patch
diff cmake-2.6.4.diff (146,075) 2009-05-02 07:02
https://public.kitware.com/Bug/file/2203/cmake-2.6.4.diff
diff cmake-2.6.4_new.diff (254,782) 2009-06-04 08:10
https://public.kitware.com/Bug/file/2299/cmake-2.6.4_new.diff
diff cmake-2.6.4_new_040609.diff (149,456) 2009-06-04 08:58
https://public.kitware.com/Bug/file/2300/cmake-2.6.4_new_040609.diff
Issue History
2008-11-14 14:27ClemensNew Issue
2008-11-14 14:27ClemensFile Added: cmake_2.6.2p_files.zip
2008-12-15 10:08Bill HoffmanStatusnew => assigned
2008-12-15 10:08Bill HoffmanAssigned To => Bill Hoffman
2009-02-24 03:45ClemensNote Added: 0015323
2009-02-24 03:45ClemensFile Added: cmake-2.6.3.patch
2009-03-30 07:00ClemensFile Added: cmake-2.6.3_1.patch
2009-03-30 07:01ClemensNote Added: 0015845
2009-05-02 07:02ClemensNote Added: 0016276
2009-05-02 07:02ClemensFile Added: cmake-2.6.4.diff
2009-06-04 08:10ClemensFile Added: cmake-2.6.4_new.diff
2009-06-04 08:58ClemensFile Added: cmake-2.6.4_new_040609.diff
2009-06-05 13:05David ColeRelationship addedrelated to 0007919
2012-11-28 16:12Brad KingRelationship replacedduplicate of 0007919
2012-11-28 16:13Brad KingNote Added: 0031751
2012-11-28 16:13Brad KingAssigned ToBill Hoffman =>
2012-11-28 16:13Brad KingStatusassigned => resolved
2012-11-28 16:13Brad KingResolutionopen => duplicate
2012-11-28 16:13Brad KingFixed in Version => CMake 2.8.11
2012-11-28 16:13Brad KingTarget Version => CMake 2.8.11
2012-11-28 16:13Brad KingRelationship addedrelated to 0008486
2013-04-17 08:54Robert MaynardNote Added: 0032887
2013-04-17 08:54Robert MaynardStatusresolved => closed

Notes
(0015323)
Clemens   
2009-02-24 03:45   
Hi again,

I downloaded the 2.6.3 sources on Windows and patched them to include the Windows Mobile support. I have created a patch with TortoiseSVN, so it should be easy to test my changes applying my patch to virginal 2.6.3 sources.

Regards
Clemens
(0015845)
Clemens   
2009-03-30 07:01   
As discussed in the forum I have tried to generate a test for the framework, which currently works only for Visual Studio 9 2008!
(0016276)
Clemens   
2009-05-02 07:02   
Uploaded patch against 2.6.4, also including the test project
(0031751)
Brad King   
2012-11-28 16:13   
Resolving as duplicate of 0007919 which has now been addressed.
(0032887)
Robert Maynard   
2013-04-17 08:54   
Closing resolved issues that have not been updated in more than 4 months.