Re: [hatari-devel] Cmake warning

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Thank you both for the support!

> Am 02.04.2021 um 16:26 schrieb Chang Chong <codemonkey2x@xxxxxxxxx>:
> 
> 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
>> 
>> 
> 
> 
> 




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/