Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Matt McCormick 832d95d92d Add support for CMAKE_CROSSCOMPILING_EMULATOR.
This variable was added in recent CMake Git master.  It should point to an
executable that acts like an emulator for the target system when
cross-compiling.  For emscripten, this is nodejs.

This executable is used by CMake to run executables in try_run commands.  By
adding support for this variable, it prevents the need to manually populate
the tedious TryRunResults.cmake file.

The emscripten configured path to NodeJS is added to the emcmake command.  In
the Emscripten.cmake file, if CMAKE_CROSSCOMPILING_EMULATOR is not defined
(which is would be if using emcmake), and attempt is made to find nodejs and
use it.
2015-05-12 09:57:57 -04:00
Jukka Jylänki 2121960571 Fix emcmake to work on Windows as well. 2014-07-10 13:35:06 +03:00
Andreas Bergmeier 6fa00c26cc Redirect emcmake calls to emconfigure. 2014-02-14 15:24:19 +01:00