| Age | Commit message (Collapse) | Author |
|
|
|
"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.
|
|
getting set by default, so set that to Emscripten CMake toolchain manually now.
|
|
logic for Emscripten, without running through test builds which have issues with endianness detection.
|
|
missing.
|
|
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.
|
|
better.
|
|
This allows projects and libraries using CMake to automatically find include directories and library files in the emscripten system directory. I am unsure why it was set to `${EMSCRIPTEN_ROOT_PATH}/cmake` before, but I tested it and it didn't work until I changed `cmake` to `system`. `CMAKE_FIND_ROOT_PATH` is documented [here](http://www.cmake.org/Wiki/CMake_Cross_Compiling#Searching_and_finding_external_software).
|
|
|
|
user CMake toolchain files. Also CACHE the variable Emscripten, in the hope of that fixing the visibility issue with variable. Some users have reported that in their CMakeLists.txt files the variable EMSCRIPTEN is not always visible, even though in the Emscripten cmake unit tests it always works. Fixes #2288. Thanks mhenschel!
|
|
|
|
compile pass, not just at link time, and add -g to CMake RelWithDebInfo builds.
|
|
for building with Emscripten. This requires a custom build of CMake to work, since by default, CMake does not allow targeting other platforms than a few hardcoded ones ("win32", "x64", "itanium").
|
|
many source files.
When there are too many source files and one builds static libraray cmake splits the whole list of files
into several invocations of library archiver. In order this to work cmake needs to know both how to create
and how to append to archive. Another related issue is that emscripten code fails when links a final
javascript code if a command line of a link command is too long (this 'too long' is very OS dependent).
Related discussion can be found in issue #1931.
Conflicts:
AUTHORS
|
|
that library.
|
|
Prevents an error similar to:
ERROR root: props-NOTFOUND: No such file or directory
|
|
files with the AR tool instead of building LLVM bitcode files for archive files. Fixes #1648.
|
|
|
|
to support linking .js files to executables, while doing dependency tracking on filestamp modifications. For more info, see https://groups.google.com/forum/#!topic/emscripten-discuss/uRbTIB62V7s .
|
|
post-build step to project to confirm that the build output is valid asm.js.
|
|
test_openjpeg will then fail to configure.
|
|
the toolchain file.
|
|
|
|
detection mechanism that could throw CMake off depending on what is in Windows PATH. Use CMAKE_EXECUTABLE_SUFFIX to specify whether to build .html or .js.
|
|
reference to juj/vs-tool emxxx.exe in favor of the new .bat files.
|
|
-O2 is ignored when compiling .bc files, so pass it to linker instead.
|
|
fix cmake em++ invocation on Windows Vista.
|
|
to avoid having to set EMSCRIPTEN environment variable on unix. Remove the temporary workaround for other.test_cmake, which shouldn't now be needed.
|
|
|
|
specifying the absolute path to emcc causes cmake to fail. On Linux, one must specify absolute path to emcc, or cmake fails. Moreover, since this is a toolchain file that is describing the system, no cmake variables seem to be available to query the platform, so make these separate.
|
|
its functionality.
|