tech-pkg archive

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

Re: cmake and CONFIGURE_DIR



On Sun, Nov 19, 2023 at 01:28:02PM +0000, nia wrote:
> How does the new cmake/build.mk system work with non-root
> configure directories?
> 
> I have a package with CMakeLists.txt in the "gtk" subdirectory.
> 
> Before, you'd set CONFIGURE_DIRS and BUILD_DIRS and then
> it'd run the cmake script in that directory.
> 
> The new cmake system seems to have CONFIGURE_DIR, but setting
> it seems to do nothing and the package complains about missing
> CMakeLists.txt.

It does something, from devel/cmake/build.mk:

cmake-configure:
        ${RUN} cd ${WRKSRC}/${CONFIGURE_DIR} && \

 Thomas


Home | Main Index | Thread Index | Old Index