tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(lots of) USE_CMAKE considered harmful
We have about 450 packages with USE_CMAKE, and only about that many with
../../devel/cmake/build.mk. This results in people seeing wrong code
and copying it. It would be good to get them converted so we can remove
the (not clearly marked as wrong) USE_CMAKE support.
I've done a few and they were quite easy. If you are maintaining or
looking after a package that has USE_CMAKE, please see about flipping.
Basically:
Where the USE_CMAKE line is, replace it with
.include "../../devel/cmake/build.mk"
Convert CMAKE_ARGS to CMAKE_CONFIGURE_ARGS, usually.
Remove any kludges to create and use a build directory; the new way
does that automatically.
Build test it.
Home |
Main Index |
Thread Index |
Old Index