tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: does our cmake support really not use separate build dirs?



Taylor R Campbell <riastradh%NetBSD.org@localhost> writes:

>> Date: Sat, 17 Aug 2024 08:00:00 -0400
>> From: Greg Troxel <gdt%lexort.com@localhost>
>> 
>> Adding USE_CMAKE=yes, I get a complaint that in-source builds are not
>> supported.  Which is a bit much of upstream, but on the other hand
>> nobody should be doing that either.
>
> Don't use USE_CMAKE=yes; use .include "../../devel/cmake/build.mk",
> which works in a subdirectory called `cmake-pkgsrc-build'.

I didn't get a warning from USE_CMAKE, and configure/cmake.mk doesn't
warn about that either, so this is quite a mess.  Thanks for the hint.

@rillig: If it turns out that doctrine really is "nobody should set
USE_CMAKE", then perhaps warn on this....


Home | Main Index | Thread Index | Old Index