Hi was able to build Google Test for Emscripten via cmake as follows:

cd googletest
mkdir build
cd build
emcmake cmake -Dgtest_disable_pthreads=ON ..

And then:
emmake make

Note that it failed with 'cxxabi.h' file not found,  so I had to create a 
symbolic-link
to ${EMSCRIPTEN_ROOT}/system/lib/libcxxabi/include/cxxabi.h
in ${EMSCRIPTEN_ROOT}/system/local/include

I wonder cxxabi.h is not automatically included by Emscripten? (as it seems 
to be properly linked into libc.bc...)
(FWIW: I'm on OSX, with a manual-build of Emscripten 1.32.)

HTH

On Thursday, May 28, 2015 at 12:26:49 PM UTC+3, raytrace wrote:
>
> Hi guys, Just want to know: is Google-Test Emscripten Port available? if 
> not, how to integrate it in Emscripten?  Any advice would be greatly 
> appreciated.
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to