|
|
@ -82,7 +82,7 @@ cmake -H . -B build -G Ninja "-DCMAKE_TOOLCHAIN_FILE=/upstrea |
|
|
|
_(The "-H ." is deprecated since CMake 3.13 and if you are using higher version please replace the argument with "-S .")_ |
|
|
|
_(The ninja generator is optional and you can use your system default by removing "-G Ninja".)_ |
|
|
|
|
|
|
|
One note here - if you're using **vcpkg **for package management and have installed raylib:wasm32-emscripten you should execute this instead: |
|
|
|
One note here - if you're using **vcpkg** for package management and have installed raylib:wasm32-emscripten you should execute this instead: |
|
|
|
|
|
|
|
``` |
|
|
|
cmake -H . -B build -G Ninja "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=<fullpath_to_emsdk>/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" "-DCMAKE_TOOLCHAIN_FILE=<path_to_vcpkg>/scripts/buildsystems/vcpkg.cmake" "-DVCPKG_TARGET_TRIPLET=wasm32-emscripten" |
|
|
|