glfw/CMake
2012-07-17 22:25:47 +03:00
..
modules Add FindEGL.cmake module 2012-07-17 22:25:47 +03: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 Removed OS name from MinGW files. 2012-07-15 16:56:50 +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
compilation, currently limited to compiling Win32 binaries on Linux.

The toolchain file naming scheme is as follows:

  host-system-compiler.cmake

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

  cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-file> .

For example, to use the Debian GNU/Linux MinGW package, run CMake like this:

  cmake -DCMAKE_TOOLCHAIN_FILE=CMake/i586-mingw32msvc.cmake .

For more details see this article:

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