← Back to team overview

dolfin team mailing list archive

Re: Testing for library version

 

On Sunday 27 September 2009 19:49:09 Garth N. Wells wrote:
> Where's the appropriate place in the build system to test for the
> version number of external libraries? Is it in dolfin/SConscript (using
>   the simula-scons function 'checkVersion')?

I do not think we have any defined sections in SConstruct/SConscript where 
this should be done. We have used checkVersion to check for the swig version 
some years ago... It is still there as out-commented code in the SConscript 
file.

I think the function just compare a version string with another handed version 
string, where the numbers are delimited by '.'. 

Aren't there any version checks done in the pkg-config generator files?

Johan


Follow ups

References