]> git.saurik.com Git - wxWidgets.git/commitdiff
Updated to alert the user to the need for them to edit this file to set the location...
authorGeorge Tasker <gtasker@allenbrook.com>
Fri, 13 Apr 2001 11:40:58 +0000 (11:40 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Fri, 13 Apr 2001 11:40:58 +0000 (11:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/xml/makefile.b32

index 760062ff222f35f47aa2f62ca4cecf4cf5b86cd9..1f67e6aad51729cbeeeaf0b78c5080b5387879ed 100644 (file)
@@ -9,7 +9,30 @@
 
 WXDIR = $(WXWIN)
 
-EXTRACPPFLAGS=/Id:\libxml\libxml2-2.1.1
+
+# Do not specify the 'libxml' directory on
+# this -I line, as the #includes use
+# <libxml/xxxx.h>.  If your libxml is installed
+# in "d:\libxml\libxml2-2.1.1\libxml" you would use:
+# wxLIBXMLDIR=/Id:\libxml\libxml2-2.1.1
+wxLIBXMLDIR=
+
+!if "$(wxLIBXMLDIR)" == ""
+!message
+!message SETUP REQUIRED
+!message
+!message You must set the wxLIBXMLDIR variable in makefile.b32 before compiling
+!message
+!message If you do not have the libxml library, you will need to obtain & install
+!message it before compiling the wxXML code.  You can obtain libxml from:
+!message http://www.xmlsoft.org
+!message
+!error
+!endif
+
+# Set this to where your libxml directory is
+EXTRACPPFLAGS=$(wxLIBXMLDIR)
+
 
 LIBTARGET=$(WXDIR)\lib\wxxml.lib