User forums > Using Code::Blocks

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

(1/1)

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


--- Code: ---emcc hello.c -o hello.html
--- End code ---

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

Navigation

[0] Message Index

Go to full version