On 01/09/12 03:19, Albrecht Schlosser wrote:
>>      I'd think the version# would simply be set at FLTK build time,
>>      'baked' into one of the .H files, and then could not be changed
>>      unless the lib were rebuilt.
> 
> Okay, but it would be difficult (at least I think so) to change the
> file FL/Enumerations.H (where this belongs in),

        We could have FL/Enumerations.H use
        #include <FL/fltk_abi_version.h>
        ..and modify configure(1) to modify that.
        (This file could also be included by C code, so .h instead of .H)

        Or, if we think there might be other situations where we want
        configure(1) to control macros that affect both user code and
        FLTK lib builds, then maybe a more generically named file, so
        that other settings could be added.

        AFAIK, we can't use config.h for this, as that file is only
        visible to builds of FLTK, and not fltk apps.
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to