User forums > Using Code::Blocks
I would like to add src files to the proj without building ALL of them!
thomas:
Not sure if I understand this correctly, but when you add an entire hierarchy of files, you're being asked what targets, if any, to add the files to (I've not done this for a long time, but used to be like that).
If you don't want them compiled, just don't add them to a target.
Krice:
--- Quote from: oBFusCATed on December 01, 2013, 12:15:50 am ---The compiler can optimize better, because it sees all functions and code, so it can do better inlining, const propagation, etc.
--- End quote ---
But how the compiler can optimize anything if there are more than one module? I know from my experience that GCC's -O2 does speed up the program even I'm using one header+cpp file per class -style.
oBFusCATed:
Of course it will speed up the program, it is an optimizing compiler after all. :)
Navigation
[0] Message Index
[*] Previous page
Go to full version