Open jcfr opened 5 years ago
@jcfr The option is -s WASM=1
.
I would recommend using itk.js. Among the benefits, it includes:
It would be neat to levrage itk-js infrastructure, are you suggesting we update itk-js project so that we can reuse its infrastructure ? Or adding dcmjs as an itk-js plugin ?
@jcfr itk.js could be used as-is to perform the dcm.js build. The steps are
insighttoolkit/itk-js
dockcross image for the build.
@thewtex Based on your experience with itk-js, could you point us to relevant documentation/example to make this happen.
Here are the emscripten options we currently use:
https://github.com/commontk/dcmjs/blob/fea79b9c3c2b77aaa078012e1f8335b79f82b39a/CMakeLists.txt#L85-L99