aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2014-01-03Update Emscripten CMake toolchain default flags to include -O2 also in ↵Jukka Jylänki
compile pass, not just at link time, and add -g to CMake RelWithDebInfo builds.
2013-12-30Add support for generating vs-tool Visual Studio project files from CMake ↵Jukka Jylänki
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").
2013-12-24Fixed small problems which exhibit themself when building projects with too ↵Volo Zyko
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
2013-11-17Fix browser.test_freealut on Windows by implementing a CMake build path for ↵Jukka Jylänki
that library.
2013-11-14CMake: only append to LINK_FLAGS if they existDaft-Freak
Prevents an error similar to: ERROR root: props-NOTFOUND: No such file or directory
2013-09-23Fix Emscripten CMake toolchain to generate proper static library archive ↵Jukka Jylänki
files with the AR tool instead of building LLVM bitcode files for archive files. Fixes #1648.
2013-09-18Remove code duplication on CMake link macros.Jukka Jylänki
2013-09-18Add functions em_link_js_library(), em_link_pre_js() and em_link_post_js() ↵Jukka Jylänki
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 .
2013-09-11Add CMake helper function em_validate_asmjs_after_build() that adds an extra ↵Jukka Jylänki
post-build step to project to confirm that the build output is valid asm.js.
2013-09-04Remove default filename suffix specification in CMake toolchain, since ↵Jukka Jylänki
test_openjpeg will then fail to configure.
2013-09-04Remove the need to pass CMAKE_MODULE_PATH to CMake by weakly setting it in ↵Jukka Jylänki
the toolchain file.
2013-09-04Delete Emscripten_unix.cmake, the previous commit makes that obsolete!Jukka Jylänki
2013-09-04Improve CMake toolchain file to use response files. Avoid the compiler ↵Jukka Jylänki
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.
2013-04-07Use .bat files to route 'python emxxx' to 'emxxx' on Windows. Remove ↵Jukka Jylänki
reference to juj/vs-tool emxxx.exe in favor of the new .bat files.
2013-01-14Adjust default compiler and linker flags when using cmake. With emscripten, ↵Jukka Jylänki
-O2 is ignored when compiling .bc files, so pass it to linker instead.
2012-11-15Explicitly pass the emscripten compiler file suffixes to cmake on Windows to ↵Jukka Jylänki
fix cmake em++ invocation on Windows Vista.
2012-11-14Try to locate emcc in cmake based on the cmake toolchain directory structure ↵Jukka Jylänki
to avoid having to set EMSCRIPTEN environment variable on unix. Remove the temporary workaround for other.test_cmake, which shouldn't now be needed.
2012-11-12Update cmake scripts.Jukka Jylänki
2012-11-12Make separate cmake files for unix and windows cmake toolchains. On Windows, ↵Jukka Jylänki
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.
2012-11-12Added cmake toolchain file for Emscripten and a other.test_cmake to tests ↵Jukka Jylänki
its functionality.