From e20870cf19c9bc66de64b5f553d9db29c27e95e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 30 Oct 2013 17:54:39 +0100 Subject: [PATCH] doc: Emscripten building documentation consisted of brain farts. --- doc/building.dox | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/building.dox b/doc/building.dox index f104aace4..800f3c569 100644 --- a/doc/building.dox +++ b/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