of course ;) If only everything could be so simple.
On 2010-12-29 07:01, Alan W. Irwin wrote:
> On 2010-12-28 15:50+0100 Arjen Markus wrote:
>> recently, Brad Harder asked if and how it is possible to specify
>> additional flags when compiling a particular part of PLplot. In this
>> case it is the flag -DTCL_MEM_DEBUG for the Tcl bindings.
>> How can we support such a thing? Do we need to adapt the CMake files to
>> a large extent or is it a matter of a few lines of code only? Do we want
>> to make it a general feature? (I can imagine any number such flags to
>> be passed at some point for a very specific purpose/platform)
> Just specify CFLAGS as an environment variable before running the
> cmake command in an initially empty build tree, e.g.,
> export CFLAGS=-DTCL_MEM_DEBUG
> This macro option will then be applied to all C compilations, but I
> believe that should be OK since there should be no effect except for C
> source code supporting our Tcl bindings.
> 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
> Linux-powered Science
DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail.