18.02.2023 21:51, Stuart Henderson пишет: > I don't like it. I think ports should not be optimising for this.
Sure, then I'll drop this. > Like the complexity you've added to cmake build targets in some ports > recently, you are trading off saving a bit of machine time for taking > more developer time and attention when handling updates. I much prefer > to extract the set of files that upstream provides and use the build > targets that they use by dsfault. It wouldn't make sense to do this in every cmake port with tests, but in in big ones the difference it makes is substantial enough that I think this is worth it. The module will be fixed so the currently hand-rolled targets can go, then it is just a question of defining ALL_TARGET if desired to cut down build time and/or PLIST.