On 2009-05-11 22:27+0100 Andrew Ross wrote:

>> These results seem exactly consistent with my analysis. Do you confirm these
>> results on your own system with and without CMAKE_BUILD_TYPE being
>> specified?
>
> I do, but my interpretation of the libraries after the debug is different to
> yours. I think the debug tag only applies to the first.

I just double-checked the 2.6.4 documentation, and you are right.

'A "debug", "optimized", or "general" keyword indicates that the library
_immediately following it_ is to be used only for the corresponding
build configuration'

I had missed that "immediately following it" qualifier before. Thanks for
persisting with this thread until I finally did notice that qualifier in the
documentation. My conclusion in light of this new information is that
FindQt4.cmake does everything correctly.

For PLplot I could do a QT_LIBRARIES processing bug fix (which should only
affect the -DCMAKE_BUILD_TYPE=Release possibility) based on this new
information. However, it appears your fix already does the right thing and
is more elegant as well so I have removed mine and reinstated yours
(revision 9967).

I don't think the deficiencies of my implementation are critical for 5.9.4
because -DCMAKE_BUILD_TYPE=Release works for 5.9.4 on Linux.  (Therefore,
Hazen, you will be glad to know no release is required for next weekend. :-) )
But it is good to get this issue completely straightened out so
-DCMAKE_BUILD_TYPE=Release will work on non-Linux platforms as well in the
future.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to