Skip to content
Snippets Groups Projects
Commit 0c4307e6 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

contrib: use the variables similar to emcmake for emscripten

emcmake is supposed to be used with CMake and emscripten [1] and it uses a
toolchain file for that [2]. But we already have our own with more things. So let's
use the same toolchain file in [3] which may overwrite some of our own values with
the ones that are expected for CMake emscripten.

This should allow CheckTypeSize and TestBigEndian tests to work properly.

[1] https://badlydrawnrod.github.io/posts/2020/05/19/emcmake-with-emscripten/
[2] https://github.com/emscripten-core/emscripten/blob/main/emcmake.py
[3] https://github.com/emscripten-core/emscripten/blob/main/cmake/Modules/Platform/Emscripten.cmake
parent 2dcd7516
No related branches found
No related tags found
Loading
Pipeline #264879 passed with stage
in 1 hour, 41 minutes, and 35 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment