Hi, I use emsdk to manage the versions of the toolchain I use: https://github.com/emscripten-core/emsdk when you execute emcc, it will look for what's in emscripten/system/include so you can easily #include <emscripten.h> or <emscripten/html5.h> (look into emscripten/system/include for the full list of headers)
On Tuesday, July 9, 2019 at 11:58:43 AM UTC+2, שחר לנגבהיים wrote: > > Hi, I didn't find the best practices regarding including emscripten.h and > html5.h in a project. Most of the examples I see just copy the files into > the project, but that means that the only way to receive updates is to copy > them manually. > What's the best way to use emscripten's headers? Add it as a git submodule > to my project, and add the submodule's include folder into the search path? > -- 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 emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/afa7c6b2-4ba9-44e5-b660-9c93b08b470d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.