Jump to content

Re compile question, not compile full ? Linux


Recommended Posts

Posted

Hello first sorry for my english but i am french ...

I have a question about compile and more exaxtly, "recompile"

Undeed if we compile one and you go to the directory objdir you can make "make" and the core was "Re-compile" but juste the changement make in the source and this it's very important and easy :) but doesn't work all time ...

How make this all time when we modif somme little things for test ? ...

Thanks

Posted

if you change something in a header (.h) file it will trigger recompilation of all the source files that depend on it

if you change a .cpp file only that will be recompiled

if you wan't to reduce compile times from recompiling i suggest using ccache

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use