CMake: Relink on File Change
~ 3 Minute Read.
In the last blog post (“WebXR in C++”) there was
a minor inconvenience left in the cmake example.
If you change the library_webxr.js, it will not relink and therefore your output
.js accompanying the WASM would not get regenerated.
I thought — “Hey, let’s fix that …