Mailinglist Archive: opensuse-buildservice (53 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: cmake and MS Windows builds
  • From: Martin Koegler <martin.koegler@xxxxxxxxx>
  • Date: Thu, 15 Nov 2018 20:06:18 +0100
  • Message-id: <20181115190618.dxyieqqrdqsnuyvi@mail.zuhause>
On Thu, Nov 15, 2018 at 01:24:53PM +0100, Roger Oberholtzer wrote:
On Thu, Nov 15, 2018 at 11:49 AM Roger Oberholtzer
<roger.oberholtzer@xxxxxxxxx> wrote:

Curious that there is no cmake for the Mingw build system on OBS.

Is this because building cmake requires a pre-installed binary of
cmake. A chicken and egg thing?

How might one best accomplish that on OBS?

Foolish me...

I was looking for a package called something like mingw64-cmake. But
it seems that the package set up to cmake/configure a cross-compile is
also called simply called cmake. So the order of the defined repos
decides if you get that or a cmake that configures a Linux target.

All is working. But is seems inconsistent.

mingw99-XXX is binary/library for windows - a PE binary. Such binaries will
only run on Windows.

mingw99-cross-XXX is a cross compiling tool. Something that runs a Linux and
produces a windows output.

XXX is the Linux version of the tool.

You would be looking for a mingw64-cross-cmake - but as this would be the
same as a normal cmake, there is no need for such a package.

Please note, that the build target is determined by cmake options - not any
repository order or special cmake packages.

%_mingw32_cmake/%_mingw64_cmake will do all the magic for cross compiling.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups