readme.txt 2.8 KB

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