Browse Source

doc: Emscripten building documentation consisted of brain farts.

pull/34/head snapshot-2013-10
Vladimír Vondruš 13 years ago
parent
commit
e20870cf19
  1. 10
      doc/building.dox

10
doc/building.dox

@ -337,14 +337,14 @@ installed and configured.
Don't forget to adapt `EMSCRIPTEN_PREFIX` variable in `generic/Emscripten.cmake`
to path where Emscripten is installed. Default is `/usr/emscripten`. Emscripten
supports dynamic only to simplify porting and they are generally slower, thus
`BUILD_STATIC` is implicitly enabled.
supports dynamic libraries only to simplify porting and they are generally
slower, thus `BUILD_STATIC` is implicitly enabled.
Then create build directory and run cmake and make in it. The toolchain needs
access to its platform file, so be sure to properly set **absolute** path to
`modules/` directory containing `Platform/Emscripten.cmake`. Default is
`/usr/emscripten`. Also set `CMAKE_INSTALL_PREFIX` to value which is contained
in `CMAKE_FIND_ROOT_PATH` in toolchain file.
`modules/` directory containing `Platform/Emscripten.cmake`. Also set
`CMAKE_INSTALL_PREFIX` to value which is contained in `CMAKE_FIND_ROOT_PATH` in
toolchain file.
mkdir -p build-emscripten
cd build-emscripten

Loading…
Cancel
Save