Fix gsettings tool string handling
[platform/upstream/glib.git] / build / win32 / vs9 / README.txt
1 Note that all this is rather experimental.\r
2 \r
3 This VS9 solution and the projects it includes are intented to be used\r
4 in a GLib source tree unpacked from a tarball. In a git checkout you\r
5 first need to use some Unix-like environment or manual work to expand\r
6 the .in files needed, mainly config.h.win32.in into config.h.win32 and\r
7 glibconfig.h.win32.in into glibconfig.h.win32. You will also need to\r
8 expand the .vcprojin files here into .vcproj files.\r
9 \r
10 The required dependencies are zlib and proxy-libintl. Fetch the latest\r
11 proxy-libintl-dev and zlib-dev zipfiles from\r
12 http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/ for 32-bit\r
13 builds, and correspondingly\r
14 http://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ for 64-bit\r
15 builds. \r
16 \r
17 One may wish to build his/her own ZLib-It is recommended that ZLib is\r
18 built using the win32/Makefile.msc makefile with VS9 with the ASM routines\r
19 to avoid linking problems-see win32/Makefile.msc in ZLib for more details.\r
20 \r
21 One may optionally use his/her own PCRE installation by selecting the\r
22 (BuildType)_ExtPCRE configuration, but please note the PCRE must be built\r
23 with VS9 with unicode support using the /MD (release) or /MDd (debug)\r
24 runtime option which corresponds to your GLib build flavour (release, debug).\r
25 (These are the defaults set by CMAKE, which is used in recent versions of PCRE.)\r
26 Not doing so will most probably result in unexpected crashes in \r
27 your programs due to the use of different CRTs.  If using a static PCRE\r
28 build, add PCRE_STATIC to the "preprocessor definitions".\r
29 Note that one may still continue to build with the bundled PCRE by selecting\r
30 the (BuildType) configuration.\r
31 \r
32 Set up the source tree as follows under some arbitrary top\r
33 folder <root>:\r
34 \r
35 <root>\glib\<this-glib-source-tree>\r
36 <root>\vs9\<PlatformName>\r
37 \r
38 *this* file you are now reading is thus located at\r
39 <root>\glib\<this-glib-source-tree>\build\win32\vs9\README.\r
40 \r
41 <PlatformName> is either Win32 or x64, as in VS9 project files.\r
42 \r
43 You should unpack the proxy-libintl-dev zip file into\r
44 <root>\vs9\<PlatformName>, so that for instance libintl.h end up at\r
45 <root>\vs9\<PlatformName>\include\libintl.h.\r
46 \r
47 The "install" project will copy build results and headers into their\r
48 appropriate location under <root>\vs9\<PlatformName>. For instance,\r
49 built DLLs go into <root>\vs9\<PlatformName>\bin, built LIBs into\r
50 <root>\vs9\<PlatformName>\lib and GLib headers into\r
51 <root>\vs9\<PlatformName>\include\glib-2.0. This is then from where\r
52 project files higher in the stack are supposed to look for them, not\r
53 from a specific GLib source tree.\r
54 \r
55 --Tor Lillqvist <tml@iki.fi>\r
56 --Updated by Chun-wei Fan <fanc999@gmail.com>\r