Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Managed Build rebuilding whole folder when options of one file change

On 2022-08-17 at 16:04, Christian Walther <walther@xxxxxxxx> wrote:

> But no, I haven’t come up with a good way of solving my problem of too many rebuilt files, given that we want the dependency. A possibility might be to split subdir.mk up into several files, one for every make rule (i.e. one each for every source file with specific settings plus one with the wildcard rule for all other files in the folder). But that may get unwieldy and I hesitate to stir up the complicated Managed Build system that much for what is arguably a corner case.

I have now tentatively implemented that, it turned out easier than expected. Will see whether it stands the test in our product. If anyone is interested: https://github.com/indel-ag/cdt/commit/226419ceb7edc97cae5f94012db0166e0130c50b#diff-d13c7787e9262d76490b1426af7b2e293a491e247430c5bd30d844a0349859d4

 -Christian


-- 
Indel AG
Christian Walther - Software
Tuefiwis 26
CH-8332 Russikon
Switzerland

Tel.: +41 44 956 20 00
www.indel.ch
------------------------------------------------------------------------------------------
New product GIN-MAX4x4: The compact 4-axis motion board now also available as PRO version!
https://www.indel.ch/en/products/drives/compact-motion-drives



Back to the top