Some cmake style comments.

The ARGS subcommand is ignored in cmake everywhere but in the
EXEC_PROGRAM command which itself is deprecated in favor of EXECUTE_PROCESS.
Essentially ARGS was an old experiment that failed so modern cmake just
ignores it (except for EXEC_PROGRAM) if it is detected.

So if you find yourself wanting to write an ARGS subcommand or use
EXEC_PROGRAM as you adjust our cmake build system, please don't.  I got rid
of the last of the useless ARGS (I hope) tonight outside the remaining
EXEC_PROGRAM uses which I plan to get rid of by converting to
EXECUTE_PROCESS instead (unless some enterprising soul beats me to it).

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to