[Bug 290582] Mk/bsd.options.mk: Update *_CMAKE_BOOL and *_CMAKE_BOOL_OFF
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 9 12:10:32 GMT 2025
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290582
--- Comment #5 from Max Brazhnikov <makc at FreeBSD.org> ---
(In reply to Jason E. Hale from comment #4)
> So, as a concept, and just for just CMake, I think this is more intuitive:
> <Mk/Uses/cmake.mk>
> CMAKE_TRUE=foo -> CMAKE_ARGS+=-Dfoo:BOOL:TRUE
> CMAKE_FALSE=foo -> CMAKE_ARGS+=-Dfoo:BOOL:FALSE
> <Mk/bsd.options.mk>
> BAR_CMAKE_ARGS_ON=-Dfoo -> CMAKE_ARGS+=-Dfoo
> BAR_CMAKE_ARGS_OFF=-Dfoo -> CMAKE_ARGS+=-Dfoo
> BAR_CMAKE_TRUE=foo -> CMAKE_ARGS+=-Dfoo:BOOL=TRUE
> BAR_CMAKE_FALSE=foo -> CMAKE_ARGS+=-Dfoo:BOOL=FALSE
Agree, cmake helpers could have been better designed. However at this point,
I'm not sure the massive changes to the ports would worth the efforts.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list