Re: [hatari-devel] Cmake warning |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Cmake warning
- From: Chang Chong <codemonkey2x@xxxxxxxxx>
- Date: Fri, 2 Apr 2021 09:26:56 -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=ts3Emlby3kvLezXXZ8ifLoMmSnZcP0LPmwQAvMlOALI=; b=VOk5cSjpVN1X2ytCnORXtIZim+h0gpza61V3lh6rSV1FOkKuI7vFe9E/C2+HBtu7Af Tgn+S5SfeSSQzpaZ3/058niv5riXuBqTAhPzEwH36BZsYH6G/7VG/k7uVxawOQsvM6DK jZIldq5OrkunEMFZDTFqZ1lgGFr8zXPWpYbqwERBf3/xcvl7X6+gfI86GBu4F5/eT527 Tp2393xtHXUvsFAt2eNWC8gbMH/IzShG/xphbmYqyxGavqfhffXgQyTVgjM0UTBnExLE Qj0tFc2Pn49R2T8cqB6r9vz5YtSJinlBVF7Fb9WQVPcVu7eXDfaaZkP/ADtu73UVNyrW ntjg==
In addition to Thomas’ post, there’s no need to execute “mkdir -p builddir” if you run cmake with the “-B builddir” argument as cmake will make the directory if it doesn’t exist.
Chang
> On Apr 2, 2021, at 3:36 AM, Thomas Huth <th.huth@xxxxxxxxx> wrote:
>
> Am Fri, 2 Apr 2021 09:54:21 +0200
> schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
>
>> Thank you Thomas and Chang for the answers! For some reason I got
>> confused because „cmake“ gave an error while „cmake -G Xcode“ just
>> gave a warning. I avoided the error by using „cmake .“ but didn’t
>> expect this to be the solution for the warnings with „cmake -G Xcode“
>> because i thought these were two different problems.
>>
>> Is this input a correct implementation of Bob C’s workflow?
>>
>> mkdir -p builddir
>> cmake -G <generator> -S . -B builddir
>> cmake --build
>
> I think the last step would be:
>
> cmake --build builddir
>
> but apart from that, looks right, yes.
>
> Thomas
>
>