[cmake-developers] Generating imported library targets without the cmake executable

Clinton Stimpson clinton at elemtech.com
Wed Nov 30 09:48:11 EST 2011


On Wednesday, November 30, 2011 07:33:48 am Stephen Kelly wrote:
> Brad King wrote:
> > On 11/30/2011 9:09 AM, Stephen Kelly wrote:
> >> Brad King wrote:
> >>> Alex was proposing simply to provide the singular name as a variable
> >>> but not
> >>> to cache it.  The only reason to cache a variable is when we're
> >>> searching and
> >>> need to let the user help out or override.  In a Config.cmake file we
> >>> know the answer.
> >> 
> >> Ok, so you're saying the user should definitely not be able to override
> >> the value, so it shouldn't be cached. The remaining question is whether
> >> it should be provided anyway uncached for the reasons Alex described. If
> >> that should be done, then I can do that.
> > 
> > I don't mind providing it for convenience.  However more variables means
> > more variables.  Users may not know which one to use when.  I don't have
> > a strong opinion either way.
> 
> Ok, my opinion is to provide one variable in plural form for now. If there
> is a reason to provide a singular form, we can add that later. Let's just
> see what Alex and CLinton say before I do that.
> 

I have the same opinion -- only providing the plural form, at least for now.

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com



More information about the cmake-developers mailing list