Answer the question
In order to leave comments, you need to log in
How to compile cmake c++ project to WebAssembly in xcode?
Greetings!
I don't understand c++ at all, please help me.
I have a C++ console project with a cmake build system.
The first thing I did was enter the #cmake ../ -DCMAKE_BUILD_TYPE=Release -G Xcode command, after which I got a project for xcode - project.xcodeproj, which successfully opens in xcode and compiles.
Tell me how to make xcode friends with WebAssembly? to get an output html page with wasm embedded?
Well, or how easy is it to compile this cmake project using emcc (without xcode)?
That is, I can compile hello_world - #emcc hello.c -s WASM=1 -o hello.html, but I don't understand how to proceed with cmake?
Thank you
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question