[xml] updated win build
- From: Rob Richards <rrichards ctindustries net>
- To: "xml gnome org" <xml gnome org>
- Subject: [xml] updated win build
- Date: Sun, 31 Jul 2005 09:28:02 -0400
Attached is patch to fix windows MS VC build
added schematron option to configure and makefile
Index: configure.js
===================================================================
RCS file: /cvs/gnome/gnome-xml/win32/configure.js,v
retrieving revision 1.32
diff -c -r1.32 configure.js
*** configure.js 27 Jan 2005 23:59:14 -0000 1.32
--- configure.js 31 Jul 2005 13:19:22 -0000
***************
*** 45,50 ****
--- 45,51 ----
var withDebug = true;
var withMemDebug = false;
var withSchemas = true;
+ var withSchematron = true;
var withRegExps = true;
var withModules = true;
var withTree = true;
***************
*** 138,143 ****
--- 139,145 ----
txt += " legacy: Enable Deprecated api's (" + (withLegacy? "yes" : "no") + ")\n";
txt += " output: Enable serialization support (" + (withOutput? "yes" : "no") + ")\n";
txt += " schemas: Enable XML Schema support (" + (withSchemas? "yes" : "no") + ")\n";
+ txt += " schematron: Enable Schematron support (" + (withSchematron? "yes" : "no") + ")\n";
txt += " python: Build Python bindings (" + (withPython? "yes" : "no") + ")\n";
txt += "\nWin32 build options, default value given in parentheses:\n\n";
txt += " compiler: Compiler to be used [msvc|mingw|bcb] (" + compiler + ")\n";
***************
*** 232,237 ****
--- 234,240 ----
vf.WriteLine("WITH_DEBUG=" + (withDebug? "1" : "0"));
vf.WriteLine("WITH_MEM_DEBUG=" + (withMemDebug? "1" : "0"));
vf.WriteLine("WITH_SCHEMAS=" + (withSchemas? "1" : "0"));
+ vf.WriteLine("WITH_SCHEMATRON=" + (withSchematron? "1" : "0"));
vf.WriteLine("WITH_REGEXPS=" + (withRegExps? "1" : "0"));
vf.WriteLine("WITH_MODULES=" + (withModules? "1" : "0"));
vf.WriteLine("WITH_TREE=" + (withTree? "1" : "0"));
***************
*** 320,325 ****
--- 323,330 ----
of.WriteLine(s.replace(/\ WITH_MEM_DEBUG\@/, withMemDebug? "1" : "0"));
} else if (s.search(/\ WITH_SCHEMAS\@/) != -1) {
of.WriteLine(s.replace(/\ WITH_SCHEMAS\@/, withSchemas? "1" : "0"));
+ } else if (s.search(/\ WITH_SCHEMATRON\@/) != -1) {
+ of.WriteLine(s.replace(/\ WITH_SCHEMATRON\@/, withSchematron? "1" : "0"));
} else if (s.search(/\ WITH_REGEXPS\@/) != -1) {
of.WriteLine(s.replace(/\ WITH_REGEXPS\@/, withRegExps? "1" : "0"));
} else if (s.search(/\ WITH_MODULES\@/) != -1) {
***************
*** 459,464 ****
--- 464,471 ----
withMemDebug = strToBool(arg.substring(opt.length + 1, arg.length));
else if (opt == "schemas")
withSchemas = strToBool(arg.substring(opt.length + 1, arg.length));
+ else if (opt == "schematron")
+ withSchematron = strToBool(arg.substring(opt.length + 1, arg.length));
else if (opt == "regexps")
withRegExps = strToBool(arg.substring(opt.length + 1, arg.length));
else if (opt == "tree")
***************
*** 638,643 ****
--- 645,651 ----
txtOut += " Legacy support: " + boolToStr(withLegacy) + "\n";
txtOut += " Output support: " + boolToStr(withOutput) + "\n";
txtOut += "XML Schema support: " + boolToStr(withSchemas) + "\n";
+ txtOut += "Schematron support: " + boolToStr(withSchematron) + "\n";
txtOut += " Python bindings: " + boolToStr(withPython) + "\n";
txtOut += "\n";
txtOut += "Win32 build configuration\n";
Index: Makefile.msvc
===================================================================
RCS file: /cvs/gnome/gnome-xml/win32/Makefile.msvc,v
retrieving revision 1.29
diff -c -r1.29 Makefile.msvc
*** Makefile.msvc 6 Jul 2005 20:12:11 -0000 1.29
--- Makefile.msvc 31 Jul 2005 13:19:23 -0000
***************
*** 115,120 ****
--- 115,121 ----
$(XML_INTDIR)\relaxng.obj\
$(XML_INTDIR)\SAX2.obj\
$(XML_INTDIR)\SAX.obj\
+ $(XML_INTDIR)\schematron.obj\
$(XML_INTDIR)\threads.obj\
$(XML_INTDIR)\tree.obj\
$(XML_INTDIR)\uri.obj\
***************
*** 159,164 ****
--- 160,166 ----
$(XML_INTDIR_A)\relaxng.obj\
$(XML_INTDIR_A)\SAX2.obj\
$(XML_INTDIR_A)\SAX.obj\
+ $(XML_INTDIR_A)\schematron.obj\
$(XML_INTDIR_A)\threads.obj\
$(XML_INTDIR_A)\tree.obj\
$(XML_INTDIR_A)\uri.obj\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]