emscripten-core / emsdk

Emscripten SDK
http://emscripten.org
Other
2.96k stars 676 forks source link

error: use `emcmake` rather then `emconfigure` for cmake projects #1310

Open vault-thirteen opened 8 months ago

vault-thirteen commented 8 months ago
# Run emconfigure with the normal configure command as an argument.
emconfigure ./configure

If your build system uses CMake, replace ./configure with cmake . etc. in the above example.

https://emscripten.org/docs/compiling/Building-Projects.html

So, I am doing exactly what the manual is saying: emconfigure cmake .

The result is following:

error: use `emcmake` rather then `emconfigure` for cmake projects