Split the cmake executable target postject into a library target postject and a wasm executable target postject_wasm.
The PR separates the inject logic from the wasm bridging code, and make it possible to use postject as a pure c++ library without setting up the emscripten SDK.
Split the cmake executable target
postject
into a library targetpostject
and a wasm executable targetpostject_wasm
.The PR separates the inject logic from the wasm bridging code, and make it possible to use
postject
as a pure c++ library without setting up the emscripten SDK.