Skip to content

Commit

Permalink
doc: Emscripten building documentation consisted of brain farts.
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Oct 30, 2013
1 parent ce1b414 commit 96e61d8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/building-corrade.dox
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,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
Expand Down

0 comments on commit 96e61d8

Please sign in to comment.