Re: [Plplot-devel] Caching of variables between consecutive cmake calls

2009-02-27 Thread Alan W. Irwin
On 2009-02-27 22:13+0100 Werner Smekal wrote: > Hi Alan, > [out of order]What I don't understand is, that > > check_symbol_exists(finite "math.h" HAVE_FINITE) > if(NOT HAVE_FINITE) > check_function_exists(finite HAVE_FINITE) > endif(NOT HAVE_FINITE) > > Doesn't work. check_function_exists is calle

Re: [Plplot-devel] Caching of variables between consecutive cmake calls

2009-02-27 Thread Werner Smekal
Hi Alan, > > There are a number of problems in the above logic. > > (*) HAVE_FINITE, HAVE_FINITE2, _HAVE_FINITE and _HAVE_FINITE2 are all > cached > as a result of check_symbol_exists and check_function_exists. (See the > commands > > SET(${VARIABLE} 1 CACHE INTERNAL "Have symbol ${SYMBOL}") > > a

Re: [Plplot-devel] build problems

2009-02-27 Thread Alan W. Irwin
On 2009-02-27 21:54+0100 Werner Smekal wrote: > Hi Thomas, >> By any chance is a cross compile from linux to win32 or win64 supported? >> Just for C that is. I'm all thumbs with cmake. If this has not been done >> before, I'll be glad to test it, if someone can give me some clue how to >> start

Re: [Plplot-devel] build problems

2009-02-27 Thread Werner Smekal
Hi Thomas, > By any chance is a cross compile from linux to win32 or win64 supported? > Just for C that is. I'm all thumbs with cmake. If this has not been done > before, I'll be glad to test it, if someone can give me some clue how to > start. For instance I have a home built cross mingw tool c

Re: [Plplot-devel] build problems

2009-02-27 Thread Thomas Stover
Just to follow up. I did get it to build by not trying to take everything out except extcairo. Thanks a ton for the reply. By any chance is a cross compile from linux to win32 or win64 supported? Just for C that is. I'm all thumbs with cmake. If this has not been done before, I'll be glad to te