Hi Steven! On Wed, 27 Oct 2021 16:59:17 -0700 "'Steven Johnson' via emscripten-discuss" <[email protected]> wrote:
> If I am using emcmake to build an existing CMake-based executable, what's > the right / best way to set emcc options? (e.g. -s ASSERTIONS=1 -s > ENVIRONMENT=node)? > > Random googling hasn't found a definitive answer. Some hits suggest that I > can use target_compile_options() and/or target_link_opions() in my CMake > build files to set these, but it would be nice if I could (also) just > specify them on the command line (for cases where the CMake files aren't > yet modified to be smart). > Perhaps try using these: https://emscripten.org/docs/tools_reference/emcc.html#environment-variables . (Untested!) -- Shlomi Fish https://www.shlomifish.org/ https://youtu.be/GoEn1YfYTBM - Tiffany Alvord - “Fall Together” God created the world in 6 days and rested on the 7th. Chuck Norris created the world in one day, and has been incrementally destroying it every day since, without rest. Please reply to list if it's a mailing list post - https://shlom.in/reply . -- 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/20211028075633.5a0f8bce%40shlomifish.org.
