reflaxe.CPP icon indicating copy to clipboard operation
reflaxe.CPP copied to clipboard

Emscripten support?

Open alienself opened this issue 2 years ago • 2 comments

How can I use this project with Emscripten / wasm compilation?

alienself avatar Apr 30 '23 23:04 alienself

The project produces C++ files. It does not compile the C++ itself, so you can use the files with the emscripten compiler. @:prependContent meta can be used to prepend arbitrary text to a function, so maybe that can be used to add emscripten meta stuff/macros but I'm not sure, will have to test after this project is complete.

SomeRanDev avatar May 01 '23 06:05 SomeRanDev

Okay thank you for this tip with @:prependContent! I am going to do some experimentations on my side and will report findings. Really like that this project only generates the c++, it's definitely less of a black box that is hxcpp..

alienself avatar May 01 '23 16:05 alienself