Re: [hatari-devel] Windows cross compile build inconsistencies with SDL2 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Windows cross compile build inconsistencies with SDL2
- From: Chang Chong <codemonkey2x@xxxxxxxxx>
- Date: Sat, 3 Apr 2021 08:54:42 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=EQULVjfczxiALzRDVHdIdZicSdUATkq7LfoghmkZ5O4=; b=CIO2J9zMCxCAOT8vkV53DEd4B5PLb4ERvxff0o4P/jb4SNiBVadxu+ellSeD5a7nG9 WH7VBo4iEE4WdMRTdhKxF/kV/sgp85TyKCWhibsATEDEn2v+ScWVTyt4pLGKP7FL70p/ Dt002QJ3kcZ9tIKnZYFf4Ta5eS9kf3x60qh5X7uFEBp1KOAmmG7UPsqGm+kzuWWOm5TG Rg8RUXNNqjV2kW6AIfhWkn5z0/t5cRN7Vv+FJJYa2Fi3Pb9Y+V4+JujaVGP7gdRiK8Oj MiRiXkpVaIgSJQyT5W8xhpn+uveZyX1Kp7yj2ZuXcb9Fp10gTmefdlJvCGuA6AMZS6+T 11Qg==
I’m late to the party. I just finished building on windows mingw and I concur with Jens.
Looking at the build logs, I now only see the additional SDL2 cflags in the compilation of the hatari project only. The hatari executable fired up with no obvious failures.
I was going to test out the cross compile scenario, but Jens beat me to it.
I feel this change provides more clarity and consistency to the project across build scenarios.
Thanks,
Chang
> On Apr 3, 2021, at 8:47 AM, Jens Guenther <dbotw@xxxxxxx> wrote:
>
> # 03. Apr 2021 (08:26:38) Thomas Huth:
>
>> So let's give it a try and use target_compile_definitions instead.
>
> Works with MinGW-w64 and cross compiling on Linux with MinGW-w64.
>
> Jens
>
>