Hello, I am writing a library using Emscripten and I stumbled on issues related to users using different values for DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR when building our lib.
I was about to add a note that mentions the mandatory usage of -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 but I thought it would be more elegant to have the library adapt itself (the client of the library have to build it on their own) I was wondering if I could somehow introspect the settings at compile time (with a #define macro) to find out the value of this flag or, if no macro is provided, at runtime (worse, but sufficient for my needs) I think I could use an awful hack where I examine the dom and try to register a dummy event callback and check its value, but I would like to avoid that if possible. Thanks in advance for any information on this topic. Benjamin -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/0f9d5629-8597-4a76-a1e2-d03db349de16%40googlegroups.com.
