News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Configuring Code::Blocks to compile WebAssembly from c/c++ source code

Started by cdavalillo, April 05, 2022, 09:47:58 PM

Previous topic - Next topic

cdavalillo

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

Miguel Gimenez

Mandrav forgot to say where is this dialog, it is in Settings -> Compiler -> Global compiler settings -> Other settings -> Advanced options