Conversation
|
The rationale here is that we don't want to pollute the include paths of user projects by any of the new include files that we add to https://github.com/kripken/emscripten/tree/master/system/include/emscripten. I'm reading through build notes from a partner and they have documented a custom hack where they rename header file in We have some awfully general names in the system include directory: bind.h, html5.h, threading.h, trace.h, val.h, vector.h, vr.h and wire.h. It would be nice to spread the practice of always including these with |
|
I see, makes sense. The one exception I'd suggest is to allow |
|
(Or move |
|
I suppose allowing We can't move But I think we can do a stub |
|
The method has more options I guess, we could also just add the parent dir and the emscripten/ dir to the include list. Anyhow, I'm not picky about the technical details, but I think it makes sense to require including to prefix |
|
+1 |
|
Oh btw, have you guys given any thought to having a more distro-like/SDK-like layout to the includes and libs? Right now we have |
…headers (apart from emscripten.h for which either form works)
f1f0fd7 to
b7ac9ed
Compare
|
Updated PR. Tiny changes remain, I believe this should be all good, so merging directly. |
|
The changes related to |
|
@dschuff: So far that kind of structure has not had appeal, for one because the directory under |
Use
#include <emscripten/foo.h>instead of#include <foo.h>when referring to any files inside the Emscripten system include directory.