Re: [hatari-devel] Small CMAKE diff |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Subject: Re: [hatari-devel] Small CMAKE diff
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 17 Feb 2019 11:33:07 +0100
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1550399588; bh=8WkD2eHXLoDv8ABAnKwrlLS7SGfVN5tubYDFWsm07Kk=; h=Date:From:To:Cc:Subject:From; b=nAshVMOIUMylnRyj0o7jSJ5sZor7bKd1p8l20Cg7b+Sc1N7+Wq94TwI0aKGJgqA1l WNhGf2BSiQzLA6DWqT34LyQnIMXz0LYFD0yfLvVrWB+vP8AWAK0RY/swuwW1H1n3+O LFxqt9ulrmtCB6OfdvGZp7FW0yiwEEXBMMsimUt/wkayPQqa/dwoXP6Z4i6CcXl446 EICrsIT+FEfcsdSpXJh92GfPE3m2nncuDzYUYHzssraN0ZR3hB2Z8jbWMXsPRyFTYj 7K6+IvNwMk6zv6SDG4MzSAdbaz4ihWBRaStP7kxVrelCetcZih2Z+M/LQZ/i47NJdW qy48S1aQwgeMg==
Am Thu, 24 Jan 2019 12:42:11 +0100
schrieb Christer Solskogen <christer.solskogen@xxxxxxxxx>:
> Hi!
>
> I'm experimenting with a multilib capable cross compiler (instead of
> having two, one for 32bit and one for 64bit) for Windows, but I'm not
> able to compile hatari without the following change:
>
> diff -r bc68d35faa8b src/CMakeLists.txt
> --- a/src/CMakeLists.txt Thu Jan 24 00:28:46 2019 +0200
> +++ b/src/CMakeLists.txt Thu Jan 24 12:36:31 2019 +0100
> @@ -127,7 +127,7 @@
> set(CMAKE_RC_COMPILER windres)
> endif(NOT CMAKE_RC_COMPILER)
> ENABLE_LANGUAGE(RC)
> - set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -Ocoff -o
> <OBJECT> <SOURCE>")
> + set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <FLAGS>
> -Ocoff -o <OBJECT> <SOURCE>")
> set_source_files_properties(${GUIWIN_RES} PROPERTIES LANGUAGE
> RC) add_executable(hatari ${GUIWIN_RES} ${SOURCES} ${GUIWIN_SOURCES})
>
>
> Could someone please commit it, please? It does not seem to cause any
> trouble for native builds. At least not for me.
Hi!
Was there a concluse whether this is now OK or not? Nicolas, did you
try whether this still works for your MinGW cross builds or not?
Thomas