Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Why are project addons compiled even when not used?

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles