glfw/CMake
2012-06-17 16:35:48 +02:00
..
cygwin-i686-w64-mingw32.cmake Added toolchain files for MinGW-w64 on Cygwin. 2012-06-17 16:35:48 +02:00
cygwin-x86_64-w64-mingw32.cmake Added toolchain files for MinGW-w64 on Cygwin. 2012-06-17 16:35:48 +02:00
linux-amd64-mingw32msvc.cmake CMake toolchain file fixes. 2012-06-03 16:53:51 +02:00
linux-i586-mingw32msvc.cmake CMake toolchain file fixes. 2012-06-03 16:53:51 +02:00
linux-i686-pc-mingw32.cmake CMake toolchain file fixes. 2012-06-03 16:53:51 +02:00
README.txt

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/linux-i586-mingw32msvc.cmake .

For more details see this article:

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