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