This is the mail archive of the
mailing list for the Cygwin project.
Re: How to use CMake with cygwin/mingw toolchain?
Am 20.10.2017 um 14:50 schrieb Peter Quiring:
The mingw versions have x86_64-w64-mingw32- or i686-w64-mingw32- added
to their exe names. Currently I just use these directly but I want to
You can just tell cmake to use them:
cmake <source_dir...> -D CMAKE_C_COMPILER=x86_64-w64-mingw32-gcc
But for the full story, you should really read the "cross compiling"
chapter of cmake's documentation.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple