Author Topic: Configuring Code::Blocks to compile WebAssembly from c/c++ source code  (Read 2159 times)

Offline cdavalillo

  • Multiple posting newcomer
  • *
  • Posts: 26
Hi, I recently read this article in the Code::Blocks wiki and I'm wondering if there is any way to adapt Code::Blocks to compile c/c++ source code to WebAssembly using Emscripten tool (compiler), as the compilation commands are as simple as

emcc hello.c -o hello.html

But honestly I don't know yet how to do it, after reading the article. If this functionality is already included in Code::Blocks please let me know how to do so, and if not please include that functionality to Code::Blocks, it would be great for the web developers whom wants to use WebAssembly compiling c/c++ source code

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1605
Mandrav forgot to say where is this dialog, it is in Settings -> Compiler -> Global compiler settings -> Other settings -> Advanced options