Hmmm, i can't figure out an application for this, though. Could you give an example how you would use it?
There was an earlier debate about standalone externals vs libraries of externals. I now have a technique to build both kinds without much effort. If I develop a bunch of small unrelated standalone externals, I can decide to combine them into a library, without modifying the code. Also, since flext is cross-platform, platform-specific externals can easily be included or excluded from a library. I hope you can share my enthusiasm. :-)
Hmmm, yes, although i'm not against external libraries ;-) Maybe i'm going to include a new statement which provides either the FLEXT_NEW or FLEXT_LIB functionality, depending on some preprocessor definition.
best greetings, Thomas