message: build(Emscripten): Export writeArrayToMemory, writeAsciiToMemory
diff: @@ -35,7 +35,7 @@ function(add_executable target)
  _add_executable(${umd_target} ${ARGN})
  get_property(_link_flags TARGET ${target} PROPERTY LINK_FLAGS)
  - set(common_link_flags " -s FORCE_FILESYSTEM=1 -s EXPORTED_RUNTIME_METHODS='[\"callMain\",\"cwrap\",\"ccall\"]' -s EXPORTED_FUNCTIONS='[\"_main\",\"_itk_wasm_input_array_alloc\",\"_itk_wasm_input_json_alloc\",\"_itk_wasm_output_json_address\",\"_itk_wasm_output_json_size\",\"_itk_wasm_output_array_address\",\"_itk_wasm_output_array_size\",\"_itk_wasm_free_all\"]' -flto -s WASM=1 -lnodefs.js -s WASM_ASYNC_COMPILATION=1 -s EXPORT_NAME=${target} -s MODULARIZE=1 -s EXIT_RUNTIME=0 -s INVOKE_RUN=0 --pre-js /ITKWebAssemblyInterface/src/emscripten-module/itkJSPipelinePre.js --post-js /ITKWebAssemblyInterface/src/emscripten-module/itkJSPost.js ${_link_flags}")
  + set(common_link_flags " -s FORCE_FILESYSTEM=1 -s EXPORTED_RUNTIME_METHODS='[\"callMain\",\"cwrap\",\"ccall\",\"writeArrayToMemory\",\"writeAsciiToMemory\"]' -s EXPORTED_FUNCTIONS='[\"_main\",\"_itk_wasm_input_array_alloc\",\"_itk_wasm_input_json_alloc\",\"_itk_wasm_output_json_address\",\"_itk_wasm_output_json_size\",\"_itk_wasm_output_array_address\",\"_itk_wasm_output_array_size\",\"_itk_wasm_free_all\"]' -flto -s WASM=1 -lnodefs.js -s WASM_ASYNC_COMPILATION=1 -s EXPORT_NAME=${target} -s MODULARIZE=1 -s EXIT_RUNTIME=0 -s INVOKE_RUN=0 --pre-js /ITKWebAssemblyInterface/src/emscripten-module/itkJSPipelinePre.js --post-js /ITKWebAssemblyInterface/src/emscripten-module/itkJSPost.js ${_link_flags}")
  set_property(TARGET ${wasm_target} PROPERTY LINK_FLAGS "${common_link_flags} -s EXPORT_ES6=1 -s USE_ES6_IMPORT_META=0")
  set_property(TARGET ${umd_target} PROPERTY LINK_FLAGS "${common_link_flags}")
  