emscripten/cmake/Modules
Matt McCormick b206b9e304 Override CMake CheckTypeSize.
The CMake CheckTypeSize module is used by many projects to get sizes of types
for the target platform. Its standard implementation builds a file that
contains the type size with the try_compile command, then uses file(STRINGS on
the built function to extract the size from the contents of the built binary.

Since emscripten produces javascript and html instead of binaries, the string
is not embedded directly in the 'binary' as expected.  Alternatively, we use a
try_run and return the size of the type in the return value.
2015-05-12 09:58:03 -04:00
..
Platform
CMakeSystemSpecificInformation.cmake
CheckTypeSize.c.in Override CMake CheckTypeSize. 2015-05-12 09:58:03 -04:00
CheckTypeSize.cmake Override CMake CheckTypeSize. 2015-05-12 09:58:03 -04:00
FindOpenAL.cmake
FindOpenGL.cmake
TestBigEndian.cmake