XQuilla/wintools
2020-02-17 22:24:47 +01:00
..
genproject.xq v2.3.3 2020-02-17 22:24:17 +01:00
lib_paths.sed v2.3.4 2020-02-17 22:24:47 +01:00
README v2.3.3 2020-02-17 22:24:17 +01:00
s_projects v2.3.4 2020-02-17 22:24:47 +01:00
s_win32 v2.3.0 2020-02-17 22:22:42 +01:00
xqilla.template.xml v2.3.4 2020-02-17 22:24:47 +01:00
xqilla.vs2010.xq v2.3.4 2020-02-17 22:24:47 +01:00
xqilla.vs2010_filter.xq v2.3.4 2020-02-17 22:24:47 +01:00

This directory and the tools here are used to generate Windows
project files for the main XQilla library and related projects.

VC9 files are generated.  The
latter can be opened using Visual Studio 2008 (9) and
later releases as well.

The process:

1.  Source (including header) files are added to xqilla.template.xml.
    Be sure to update that file when files are added or removed
    from the project.

2.  Run the script, s_win32, which calls the script
    s_projects to generate project files.  These files
    land in ../Win32Projects/{VC9,VC10,VC11}.  s_projects requires that
    the xqilla command line utility be in your PATH, because it
    uses XQuery and the input XML document (xqilla.template.xml)
    to generate the project files.

The scripts must be run on a Unix-style machine, most likely,
as they use bash and commands that are typically available
on Unix.  They *may* run under cygwin.

DO NOT EVER manually edit the output project files (*.vcproj).
If changes are required, edit the templates and scripts and generate
the changed projects.

Details:

The s_projects script uses lib_paths.sed to substitute
variables in xqilla.template.xml, substitutes the project
name in the XQuery script, genproject.template, then calls the 
xqilla command passing the resulting script, which uses the 
XML document input to generate a specific project file.

Todo:

1.  Maybe generate Makefile.am from xqilla.template.xml as well (or
vice versa).