I'm trying to compile project with emcc using gradle and so far failing to find any decent example of how it can be done (or to learn to to it on my own).
What I've tried to do so far is to set path to clang this way:
model {
toolChains {
clang(Clang) {
path "<path-to-emcc>"
}
}
...
}
I'm getting a "Could not find C compiler 'clang'." message. Next thing I've tried is to create a clang symlink to emcc, but, again, failed miserably.