[QBS] rebuild / automatic scan dependencies

Schmidt, Jan Jan.Schmidt at refu-elektronik.de
Tue Feb 24 12:14:08 CET 2015


Hi all,

I try'd to build helloworld-minimal from 1.3.3:

after that, the binary exists. If I remove that file,
qbs does not rebuild it.

Second:
Is there a way to scan the dependencies automatically?
With make,I add a Compiler-Switch (-MMD for gcc). Then the
compiler creates a file .d wich I can include in the
makefile.
If I touch such header and re-run make, the file is compiled
again.
With qbs this is not happen.
I don't want to add each header to the qbs-file per hand.

jan


More information about the Qbs mailing list