Main entry point of the project could be converted into _.js and _.html by these 4 steps:
-
Get Emscripten software development kit by running script: get_emsdk.bat; Emscripten compiler will be used as default compiler later;
-
Configure project with necessary generator (Ninja) and toolchain file by running script: cmake_config_toolchain.bat;
-
Build executable by running simple script: cmake_build.bat;
-
Finally you can show *.html in browser by running it with emrun: emrun_executable.bat;