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

Loading…
Cancel
Save