Add a CMAKE_TOOLCHAIN_FILE to compile with MinGW
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 10 May 2012 13:29:56 +0000 (15:29 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 10 May 2012 13:58:00 +0000 (15:58 +0200)
commitf43e0004ea33555719ef921718eca81d6cb22248
tree2e2e8fa1add7db81fca341e4a2abd253121764f8
parent281f9e80f6fd38866b895f1d2509fbe006520e22
Add a CMAKE_TOOLCHAIN_FILE to compile with MinGW

This is inspired by this blog post by Sylvain Beucler:
http://blog.beuc.net/posts/Cross-compiling_with_CMake/
cmake_modules/mingw_cross_toolchain.cmake [new file with mode: 0644]