Hi Alan,
thanks for the change. I consider it quite helpful (at least for my
daily work :). And I don't expect any problems for anybody else.
Regards,
Werner
Alan W. Irwin wrote:
> On 2008-02-08 09:34-0800 Alan W. Irwin wrote:
>
>> Thanks, Werner. Please bring up this issue again after the release if I
>> forget to do it myself.
>
> Hi Werner:
>
> Since nobody argued against this and you argued well for it, I have just
> reinstated your change.
>
> I wanted to delay this until after the release because I was concerned about
> the implementation; CMake handles -DLIB_TAG:STRING=whatever differently
> than -DLIB_TAG=whatever. (It puts the typed version in the cache and just
> sets an ordinary variable when it is not typed.) However, some simple tests
> I have done seem to indicate that your implementation with the simple
>
> set(LIB_TAG "${LIB_TAG}d")
>
> does the right thing whether the -D option is typed or not (probably because
> this set command only sets the ordinary CMake variable and not the cached
> version).
>
> The handling of untyped -D options will be changed for CMake 2.6.x (I think
> they will be put into the cache just like typed variables) so we may have to
> revisit this, but the implementation should be fine for now and should give
> the same results for untyped and typed setting of LIB_TAG with a -D
> option.
>
> 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
> __________________________
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plplot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria
email: [EMAIL PROTECTED]
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
+43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel