2 feature(!xerces2, !xerces3) {
7 includes += $(XERCESCROOT)/include
8 libpaths += $(XERCESCROOT)/lib
10 specific(prop:microsoft) {
11 xerceslib = xerces-c_2
13 // Linking the optimized version of xerces-c_2 into a debug application
14 // has been known to cause run-time issues (as of 4/25/2005), so we
15 // will link in the debug version for the "Debug" configuration.
16 Debug::xerceslib = xerces-c_2D
18 specific(prop:borland) {
21 specific(!prop:windows) {
22 macros += XML_USE_PTHREADS
26 // We have to use lit_libs here as the library decorator
27 // does not necessarily match what MPC uses (particularly for
29 lit_libs += $(XERCESLIB)
32 expand(XERCESC_INCDIR) {
34 $(XERCESCROOT)/include
36 expand(XERCESC_LIBDIR) {
41 specific(prop:microsoft) {
42 xerceslib = xerces-c_3
44 // Support (but don't require) installation layouts that have
45 // the debug libraries in a subdirectory. vcpkg uses this.
46 Debug::libpaths += $(XERCESCROOT)<%slash%>debug<%slash%>lib
48 Debug::xerceslib = xerces-c_3D
50 specific(prop:borland) {
53 specific(!prop:windows) {
54 macros += XML_USE_PTHREADS
59 includes += ${XercesC_INCLUDE_DIRS}
60 xerceslib = ${XercesC_LIBRARIES}
62 includes += $(XERCESC_INCDIR)
63 libpaths += $(XERCESC_LIBDIR)
66 // We have to use lit_libs here as the library decorator
67 // does not necessarily match what MPC uses (particularly for
69 lit_libs += $(XERCESLIB)