@hamoid wrote:
Hi,
I see that if I add an addon to the QtCreator project the addon gets compiled, even if I don’t use it (no #include) in any of my .h or .cpp files.
That makes the compilation slower.
In the case of ofxLua, it makes my program crash in ofSetupOpenGL, even if I don’t use the library.
What I would like to understand is why doesn’t the compiler notice that those includes are not needed and skip compilation?
Posts: 5
Participants: 2