public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Peter Quiring <pquiring@gmail.com>
To: cygwin@cygwin.com
Subject: How to use CMake with cygwin/mingw toolchain?
Date: Fri, 20 Oct 2017 12:50:00 -0000	[thread overview]
Message-ID: <CA+3dX1xvZZLXy9ax5MHeu80N6V8SCORx6wcJGMoUkAvy5pKAkg@mail.gmail.com> (raw)

What is the current process to use the mingw toolchain that is
included with cygwin?

There use to be a -mno-cygwin option used with gcc.

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
use cmake.

Cygwin also includes cmake. How would I configure it to use the mingw
toolset that is included with cygwin? I also see some Qt5 *.cmake
modules included in the Qt5 libraries for mingw.

Would it be possible to include a version of cmake built for mingw?

Thanks.

-- 
Peter Quiring

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2017-10-20 12:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-20 12:50 Peter Quiring [this message]
2017-10-20 13:05 ` Arjen Markus
2017-10-20 18:34 ` Hans-Bernhard Bröker
2017-10-20 21:11 ` Yaakov Selkowitz
2017-10-23 12:22   ` Peter Quiring
2017-10-20 14:26 Peter Quiring
2017-10-20 14:31 ` Arjen Markus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+3dX1xvZZLXy9ax5MHeu80N6V8SCORx6wcJGMoUkAvy5pKAkg@mail.gmail.com \
    --to=pquiring@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).