[GRASS-dev] GRASS 6.3.0
Glynn Clements
glynn at gclements.plus.com
Fri Mar 21 23:34:02 EDT 2008
William Kyngesburye wrote:
> > Another problem with vdigit: the C++ wrapper file
> > grass6_wxvdigit_wrap.cpp
> > is *not* a source file (it is built from the .i files using SWIG), and
> > should not be stored in the SVN repository. It should be generated
> > by SWIG
> > during the build process.
>
> Correct or not, I'vee seen it as a convention in many projects to
> include pre-SWIG'd sources (ie Mapserver, Qgis, GDAL). While
> developers may be OK with adding SWIG to their toolbox (though I
> haven't installed it on my new Mac because I don't need it any more),
> users who build from source may not have SWIG, and may not want to
> install something that's not used at runtime but only for compilation.
Even if we include the file as a convenience, the Makefile should
still have the appropriate dependency information so that any changes
to the .i files are handled correctly.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list