]> git.saurik.com Git - wxWidgets.git/blame - docs/msw/wince/readme.txt
Virtualize showing/hiding the pages in wxBookCtrlBase.
[wxWidgets.git] / docs / msw / wince / readme.txt
CommitLineData
1a4fe894
JS
1
2 =================================================
d716e453 3 Welcome to wxWidgets/CE
1a4fe894
JS
4 =================================================
5
2fe9180b
VZ
6This is the readme file for the Windows CE port of the wxWidgets GUI library
7which runs on Pocket PC 2002/2003, Smartphone 2002/2003, Windows CE .NET 4.x,
8and Windows Mobile 5. This port requires the use of Microsoft Visual Studio
92005 and 2008, in particular eVC (Visual C++ Embedded) is not supported any
10longer.
1a4fe894 11
2fe9180b 12More information about the wxWidgets project as a whole can be found at:
1a4fe894 13
2fe9180b 14 http://www.wxwidgets.org/
1a4fe894 15
f4dea58d
JS
16Information about the Windows CE port in particular can be found in
17the wxWinCE topic in the wxWidgets reference manual.
1a4fe894 18
1a4fe894 19
fc2171bd 20wxWidgets/CE Configuration
a96b4743
JS
21================================
22
2fe9180b
VZ
23You may wish to customize the file include/wx/msw/wince/setup.h before building
24wxWinCE to disable any features that your program doesn't need and minimize the
25size of the library.
a96b4743 26
1a4fe894 27
fc2171bd 28wxWidgets/CE Compilation
1a4fe894
JS
29================================
30
2fe9180b
VZ
31Unless the archive you downloaded already included CE-specific project files,
32you 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
34details about it) and create the file build/bakefiles/Bakefiles.local.bkgen
35with the following contents for Visual Studio 2008 (replace 2008 with 2005
36everywhere 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
50Notice that this will create the output files in the directories using "vc9arm"
51prefix instead of the usual "vc" one which allows to build the normal wxMSW and
52wxCE in the same wxWidgets source tree. You're, of course, free, to use
53different names for the project files suffix and the output directories prefix
54if you wish.
1cc0bc10 55
2fe9180b 56Then do
1cc0bc10 57
2fe9180b
VZ
58cd %WXWIN%\build\bakefiles
59bakefile_gen -f msvs2008prj
1cc0bc10 60
2fe9180b
VZ
61to create all *vc9arm.vcproj files. After this, simply open the solution file
62in Visual Studio and build it.
1cc0bc10 63
6fdaa477 64
1a4fe894
JS
65Status
66======
67
f4dea58d 68It's possible to create working Pocket PC or Smartphone
280e0cc4 69applications with this port. For further information
f4dea58d
JS
70about how to use wxWidgets with Windows CE, and further
71work that needs to be done, see the wxWinCE topic in the
72reference manual, and also:
1a4fe894 73
8a606bb0 74http://wiki.wxwidgets.org/Developers_Notebook/WxWinCE
1a4fe894 75
f4dea58d
JS
76The "Life!" demo in demos/life has some adaptations for
77wxWinCE, and also demonstrates how to make an installer for
78a Pocket PC application.