]>
Commit | Line | Data |
---|---|---|
1a4fe894 JS |
1 | |
2 | ================================================= | |
d716e453 | 3 | Welcome to wxWidgets/CE |
1a4fe894 JS |
4 | ================================================= |
5 | ||
2fe9180b VZ |
6 | This is the readme file for the Windows CE port of the wxWidgets GUI library |
7 | which runs on Pocket PC 2002/2003, Smartphone 2002/2003, Windows CE .NET 4.x, | |
8 | and Windows Mobile 5. This port requires the use of Microsoft Visual Studio | |
9 | 2005 and 2008, in particular eVC (Visual C++ Embedded) is not supported any | |
10 | longer. | |
1a4fe894 | 11 | |
2fe9180b | 12 | More information about the wxWidgets project as a whole can be found at: |
1a4fe894 | 13 | |
2fe9180b | 14 | http://www.wxwidgets.org/ |
1a4fe894 | 15 | |
f4dea58d JS |
16 | Information about the Windows CE port in particular can be found in |
17 | the wxWinCE topic in the wxWidgets reference manual. | |
1a4fe894 | 18 | |
1a4fe894 | 19 | |
fc2171bd | 20 | wxWidgets/CE Configuration |
a96b4743 JS |
21 | ================================ |
22 | ||
2fe9180b VZ |
23 | You may wish to customize the file include/wx/msw/wince/setup.h before building |
24 | wxWinCE to disable any features that your program doesn't need and minimize the | |
25 | size of the library. | |
a96b4743 | 26 | |
1a4fe894 | 27 | |
fc2171bd | 28 | wxWidgets/CE Compilation |
1a4fe894 JS |
29 | ================================ |
30 | ||
2fe9180b VZ |
31 | Unless the archive you downloaded already included CE-specific project files, |
32 | you first need to generate them yourself. For this please install bakefile | |
33 | (from http://www.bakefile.org/, see technote docs/tech/tn0016.txt for more | |
34 | details about it) and create the file build/bakefiles/Bakefiles.local.bkgen | |
35 | with the following contents for Visual Studio 2008 (replace 2008 with 2005 | |
36 | everywhere for the previous version): | |
1a4fe894 | 37 | |
2fe9180b | 38 | <?xml version="1.0" ?> |
1a4fe894 | 39 | |
2fe9180b VZ |
40 | <bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen"> |
41 | <add-formats>msvs2008prj(arm)</add-formats> | |
42 | <add-flags files="wx.bkl" formats="msvs2008prj(arm)"> | |
43 | -o ../msw/wx_vc9arm.sln -DMSVS_PLATFORMS=pocketpc2003 -DCOMPILER_PREFIX=vc9arm | |
44 | </add-flags> | |
45 | <add-flags files="../../samples/*/*" formats="msvs2008prj(arm)"> | |
46 | -o $(INPUT_FILE_DIR)/$(INPUT_FILE_BASENAME_NOEXT)_vc9arm.sln -DMSVS_PLATFORMS=pocketpc2003 -DCOMPILER_PREFIX=vc9arm | |
47 | </add-flags> | |
48 | </bakefile-gen> | |
1cc0bc10 | 49 | |
2fe9180b VZ |
50 | Notice that this will create the output files in the directories using "vc9arm" |
51 | prefix instead of the usual "vc" one which allows to build the normal wxMSW and | |
52 | wxCE in the same wxWidgets source tree. You're, of course, free, to use | |
53 | different names for the project files suffix and the output directories prefix | |
54 | if you wish. | |
1cc0bc10 | 55 | |
2fe9180b | 56 | Then do |
1cc0bc10 | 57 | |
2fe9180b VZ |
58 | cd %WXWIN%\build\bakefiles |
59 | bakefile_gen -f msvs2008prj | |
1cc0bc10 | 60 | |
2fe9180b VZ |
61 | to create all *vc9arm.vcproj files. After this, simply open the solution file |
62 | in Visual Studio and build it. | |
1cc0bc10 | 63 | |
6fdaa477 | 64 | |
1a4fe894 JS |
65 | Status |
66 | ====== | |
67 | ||
f4dea58d | 68 | It's possible to create working Pocket PC or Smartphone |
280e0cc4 | 69 | applications with this port. For further information |
f4dea58d JS |
70 | about how to use wxWidgets with Windows CE, and further |
71 | work that needs to be done, see the wxWinCE topic in the | |
72 | reference manual, and also: | |
1a4fe894 | 73 | |
8a606bb0 | 74 | http://wiki.wxwidgets.org/Developers_Notebook/WxWinCE |
1a4fe894 | 75 | |
f4dea58d JS |
76 | The "Life!" demo in demos/life has some adaptations for |
77 | wxWinCE, and also demonstrates how to make an installer for | |
78 | a Pocket PC application. |