blob: b2a1e21a2f2132a2ba2b863cccc379714564fdc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
WBXML Library INSTALLATION OVERVIEW
Dependencies
------------
The WBXML library needs the Expat XML Parser library to convert XML to WBXML
(http://expat.sourceforge.net)
On Linux Debian, just type:
$ apt-get install libexpat1-dev
Unix(Linux/FreeBSD/Solaris)
---------------------------
libwbxml is using CMake as "build environment" (http://www.cmake.org).
You must have cmake 2.4+. For example, on Debian:
$ apt-get install cmake
We only support/test "out of source builds", which means you have to create a
separated build directory.
Example 1:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$prefix /path/to/libwbxml/source/
make
make test
make install
Example 2:
cd /path/to/libwbxml/source/
cmake . -B/tmp/build/libwbxml
cd /tmp/build/libwbxml
make
make test
make install
Windows
-------
The Win32 binary of Expat library is in: "/win32/expat"
Just open the 'win32/libwbxml.dsw' VC++ workspace, and build:
- libwbxml2.dll : Main WBXML engine - Parser and Encoder (needs Expat for XML to WBXML conversion)
- wbxml2xml.exe : WBXML to XML converter tool
- xml2wbxml.exe : XML to WBXML converter tool
Symbian
-------
You must have the "Nokia S60 SDK v1.2" installed.
You must have the Expat library (ported to Symbian) installed.
Go to 'symbian/' folder and type:
c:\Symbian\libwbxml\symbian> bldmake bldfiles
c:\Symbian\libwbxml\symbian> abld build wins deb
Compilation Flags
-----------------
WBXML_ENCODER_USE_STRTBL : Enable "String Table" code in WBXML Encoder
WBXML_SUPPORT_WML : Support of WML 1.0 / WML 1.1 / WML 1.2 / WML 1.3
WBXML_SUPPORT_WTA : Support of WTA 1.0 / WTAWML 1.2 / CHANNEL 1.1 / CHANNEL 1.2
WBXML_SUPPORT_SI : Support of SI 1.0
WBXML_SUPPORT_SL : Support of SL 1.0
WBXML_SUPPORT_CO : Support of CO 1.0
WBXML_SUPPORT_PROV : Support of PROV 1.0
WBXML_SUPPORT_EMN : Support of EMN 1.0
WBXML_SUPPORT_DRMREL : Support of DRMREL 1.0
WBXML_SUPPORT_OTA_SETTINGS : Support of Ericsson / Nokia OTA Settings v7.0
WBXML_SUPPORT_SYNCML : Support of SyncML 1.0 / SyncML 1.1 / SyncML 1.2
WBXML_SUPPORT_WV : Support of Wireless-Village CSP 1.1 / CSP 1.2
WBXML_SUPPORT_AIRSYNC : Support of AIRSYNC 2.5
WBXML_SUPPORT_CONML : Support of Nokia ConML
HAVE_EXPAT : Enable XML Parsing feature (needs Expat)
WBXML_INSTALL_FULL_HEADERS : Install unstable internal API headers
BUILD_SHARED_LIBS : Build wbxml as shared library
BUILD_STATIC_LIBS : Build wbxml as static library
|