FLTK logo

Re: [fltk.coredev] Re: RFC: introduce public config header <FL/fl_config.h>

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: RFC: introduce public config header <FL/fl_config.h> duncan Aug 30, 2021  
 
Stupid question perhaps, but why generate an <FL/fl_config.h> that's included in <FL/Fl.H> ?
Can't configure/CMake add these items directly into the top of <FL/Fl.H> ?

Not a stupid question. Well, there are some reasons.

(1) It would make things more complicated than necessary. We need two different input files that have to be prepared in parallel (logically consistent) as source for the generation. configure and CMake need different input to generate the same output. You'll see what I mean if you compare configh.cmake.in and configh.in.
. . .

I knew you would have already thought it through and would have an answer ready to hand :-)


PS: Duncan, your vote as long time FLTK dev would be appreciated as well. Thanks.

I might have been following FLTK for a long time, but I wouldn't really consider
myself a true dev as I've only really tinkered with the documentation.
I leave the real FLTK internals to the professionals :-)

But seeing as you explained, and asked me so nicely, you can have my +1 too :-)

D.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/577f3dca-6ac8-44ca-95c7-894e79a87562n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.