1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-30 05:58:52 -05:00
glfw/CMake
2012-08-01 00:56:11 +02:00
..
amd64-mingw32msvc.cmake Removed OS name from MinGW files. 2012-07-15 16:56:50 +02:00
i586-mingw32msvc.cmake Removed OS name from MinGW files. 2012-07-15 16:56:50 +02:00
i686-pc-mingw32.cmake Removed OS name from MinGW files. 2012-07-15 16:56:50 +02:00
i686-w64-mingw32.cmake Removed OS name from MinGW files. 2012-07-15 16:56:50 +02:00
README.txt Updated MinGW cross-compilation documentation. 2012-08-01 00:56:11 +02:00
x86_64-w64-mingw32.cmake Removed OS name from MinGW files. 2012-07-15 16:56:50 +02:00

This directory contains a collection of toolchain definitions for
cross-compiling for Windows using MinGW on various other systems.

To use these files you add a special parameter when configuring the source tree:

  cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-file> .

The exact file to use depends on the prefix used by the MinGW binaries on your
system.  You can usually see this in the /usr directory, i.e. the Ubuntu
MinGW-w64 packages have /usr/x86_64-w64-mingw32 for the 64-bit compilers, so the
correct invocation would be:

  cmake -DCMAKE_TOOLCHAIN_FILE=CMake/x86_64-w64-mingw32.cmake .

For more details see this article:

  http://www.paraview.org/Wiki/CMake_Cross_Compiling