Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Jukka Jylänki 07684f25c9 Restore CMAKE_FIND_ROOT_PATH_MODE_PROGRAM to NEVER, since it is useful to find_program() for external system utilities. 2014-09-17 21:48:51 +03:00
Jukka Jylänki 945cb74230 As per jP_wanN's comment, fix the CMake toolchain file find feature to never look at native system directories, but only look at CMAKE_FIND_ROOT_PATH. 2014-09-17 21:24:14 +03:00
Nicholas Wilson b0d12cc455 tell cmake that there is no library for dlopen on emscripten (shuts up warnings "emcc: cannot find library "dl"" for projects that add CMAKE_DL_LIBS to the link line) 2014-09-04 10:09:58 +01:00
Jukka Jylänki cb2cb14604 Fix EMSCRIPTEN root path search in CMake toolchain file. 2014-07-12 13:07:40 +03:00
Jukka Jylänki c064ab8e40 Restore the soname symlink generation feature when using CMAKE_SYSTEM_NAME "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-10 20:40:08 +03:00
Jukka Jylänki 2e3b8c817e After previous toolchain directory/include structure change, UNIX=1 was not getting set by default, so set that to Emscripten CMake toolchain manually now. 2014-07-10 20:18:36 +03:00
Jukka Jylänki 789c8ca33c Add explicit support for CMake CMakeBackwardsCompatibilityC.cmake detection logic for Emscripten, without running through test builds which have issues with endianness detection. 2014-07-10 20:17:50 +03:00
Jukka Jylänki 87a773bcc7 Add CMake directive CMAKE_SIZEOF_INT=4 which openjpeg CMake detection was missing. 2014-07-10 19:52:03 +03:00
Jukka Jylänki 6038404616 Fix a long-standing CMake toolchain issue where the toolchain was not able 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. 2014-07-10 19:45:30 +03:00
Jukka Jylänki 1ee42ca288 Fix browser.test_freealut on Windows by implementing a CMake build path for that library. 2013-11-17 22:06:03 +02:00