This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unnecessary builds in CCS5 when using command line builds for different configurations

Hi,

I want to assemble programs which use similar components by linking identical libraries to different projects. That all for different configurations in a command line build environment.(2 Programs lib_test_main1.out and _main2.out, both using libraries lib_test_print1.lib and _print2.lib, first clean everything, then do incremental builds for Release and Debug configuration). Example project and output are attached.

What I see is that:

For the first (Release) configuration everything works as expected. For the second (Debug) configuration there is a lot on unnecessary clean and rebuild action, which extends the build time. Uncommented, filtered output in real_life_build.txt, comments about what I would expect in expected_build.txt.

Can you please give me a hint how to remove the additional clean builds and to use existing libraries instead of re-building them again?

(Splitting the clean builds between the releases is not a solution - the real application is even more complicated with with a 6 projects * 2 configurations * 2 other_parameters matrix, where one of the 24 configurations shall be build first as a touchstone build, with 11 of the remaing 23 later, thus a total clean at the beginning should be most efficient).

TI.zip