On 2013-11-23 10:38-0800 Alan W. Irwin wrote:

> [...]That idea (when PLPLOT_ITK_VERSION is set don't do the execute_process
> and also set ITK_RC to 0) would work.  In fact, it would actually be
> slightly more efficient than running execute_process every time CMake
> is re-run. But it is a little complicated because the result of the
> execute_process command (according to the documentation) is an
> ordinary variable so you would have to rename that and then set
> PLPLOT_ITK_VERSION to that value as a cached variable.  And then in
> the autobuilding case you could set that cached variable initially
> (and thus skip the initial execute_process) with
> -DPLPLOT_ITK_VERSION:STRING=3.3 (or whatever).
>

DONE as of revision 12745.  Please look carefully at the caveats
mentioned in the commit message.  So this choice is not particularly
convenient because we want to discourage ordinary users from trying
this, but if you know what you are doing, this should solve the
autobuild environment issue you mentioned.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to