aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/Platform
AgeCommit message (Collapse)Author
2014-07-12Fix EMSCRIPTEN root path search in CMake toolchain file.Jukka Jylänki
2014-07-10Restore the soname symlink generation feature when using CMAKE_SYSTEM_NAME ↵Jukka Jylänki
"Emscripten", like the previous CMAKE_SYSTEM_NAME "Linux" did. This lets test_openjpeg generate output files with same file names as before the system name change.
2014-07-10After previous toolchain directory/include structure change, UNIX=1 was not ↵Jukka Jylänki
getting set by default, so set that to Emscripten CMake toolchain manually now.
2014-07-10Add explicit support for CMake CMakeBackwardsCompatibilityC.cmake detection ↵Jukka Jylänki
logic for Emscripten, without running through test builds which have issues with endianness detection.
2014-07-10Add CMake directive CMAKE_SIZEOF_INT=4 which openjpeg CMake detection was ↵Jukka Jylänki
missing.
2014-07-10Fix a long-standing CMake toolchain issue where the toolchain was not able ↵Jukka Jylänki
to specify a default suffix (.js) for generated executables and the suffix that was set got silently erased. Previously the default suffix was empty "", which meant all user CMakeLists.txt files had to explicitly specify the suffix. Fixing this adds support for CMake built-in check_function_exists() detection macro which is used e.g. by SDL2 CMakeLists.txt path. To build html files, add the directive 'SET(CMAKE_EXECUTABLE_SUFFIX ".html")' like before.