Conversation
|
Uhhh try with meson instead edit: need to pass -Ddefault_library=static edit2: nvm: |
|
ninja: Entering directory `WebAssembly' |
meson.build
Outdated
| cpp_args: cargs, | ||
| version: meson.project_version(), | ||
| gnu_symbol_visibility: 'hidden', | ||
| dependencies: [deps, exiv2int_dep], |
|
peter.kovar@Pascal /2TB/usr/src/github.com/1div0/exiv2/WebAssembly |
|
What's the issue? |
|
This was output to the developer console in Brave. Just a confirmation that Exiv2 library is executing via WebAssembly. |
|
OK. The purpose of the meson build is simply to build the library. The goal is not to fully replace the CMake build. I have no idea whether or not it works properly. |
|
Well, my intent was to make sure that WebAssembly can be built and viable option. Maybe even for 1.0. Thoughts? |
|
Sure, why not. I can’t help much with CMake though |
|
I tried this again. Needs: Maybe I should completely get rid of it. It doesn't even work for cmake. meson ran with em.txt: |
|
if you want to build the subprojects as well, -Dauto_features=enable and -DXXX:default_library=static for each subproject. |
great, a bug in the wrap. |
|
hmm tests don't compile |
|
The reason for the tests is because gtest uses std::atomic. Might be fixed in a newer version of emscripten. Who knows. |
|
Will check ASAP. |
|
meson setup --cross-file wasm32.text -Ddefault_library=static WebAssembly |
Codecov Report
@@ Coverage Diff @@
## main #2561 +/- ##
=======================================
Coverage 63.96% 63.96%
=======================================
Files 103 103
Lines 22344 22344
Branches 10835 10835
=======================================
Hits 14293 14293
Misses 5828 5828
Partials 2223 2223 |


emcmake cmake -B WebAssemblycmake --build WebAssemblyExiv2 WebAssembly.log
Failure by linking stage. Need to dig deeper.