Skip to content

Commit 63c8914

Browse files
committed
MSVC_NMake/README: Document dependency placement
... so that it is easier for people to build libxml++ with less need to tinker with the build files or the %INCLUDE% and %LIB% envvars.
1 parent 49dce8e commit 63c8914

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

MSVC_NMake/README

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,62 @@ Building libxml++ with Visual Studio 2015 or later
1010
* Run `nmake /f Makefile.vc CFG=[debug|release]` to buiild libxml++. Run `nmake /f Makefile.vc` without the
1111
`CFG=[debug|release] flag to see which options are supported by the NMake Makefiles
1212

13+
* It is recommended that the dependent items is to be placed like the following, or be placed in paths
14+
indicated by %INCLUDE% and %LIB% respectively for the headers and .lib's:
15+
16+
<some_dir_1>\include
17+
|
18+
-libxml2 (and items in its subdir(s))
19+
|
20+
-giomm-2.4 (and items in its subdir(s))
21+
|
22+
-glibmm-2.4 (and items in its subdir(s))
23+
|
24+
-gio-win32-2.0 (and items in its subdir(s))
25+
|
26+
-glib-2.0 (and items in its subdir(s))
27+
|
28+
-sigc++-2.0 (and items in its subdir(s))
29+
|
30+
-(any dependent headers of libraries enabled by libxml2 and glibmm and glib)
31+
32+
<some_dir_2>\lib
33+
|
34+
-giomm-2.4
35+
|
36+
-include
37+
|
38+
-giommconfig.h
39+
|
40+
-glibmm-2.4
41+
|
42+
-include
43+
|
44+
-glibmmconfig.h
45+
-sigc++-2.0
46+
|
47+
-include
48+
|
49+
-sigc++config.h
50+
-libxml2.lib
51+
|
52+
-giomm-vcXXX-2_4.lib
53+
|
54+
-glibmm-vcXXX-2_4.lib
55+
|
56+
-sigc-vcXXX-2_0.lib
57+
|
58+
-gobject-2.0.lib
59+
|
60+
-gmodule-2.0.lib
61+
|
62+
-glib-2.0.lib
63+
64+
Fine-tune by passing in PREFIX=..., INCLUDEDIR=... (default:$(PREFIX)\include, example would be
65+
INCLUDEDIR=<some_dir_1>\include) and LIBDIR=... (default: $(PREFIX)\lib, example would be
66+
LIBDIR=<some_dir_2>\lib) as needed. Note that vcXXX denote the Visual Studio version being used,
67+
where XXX is 140 for VS2015, 141 for VS2017, 142 for VS2019 and 143 for VS2022.
68+
1369
Cedric Gustin
1470
01/26/2005
1571

0 commit comments

Comments
 (0)