aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
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.