User forums > Using Code::Blocks
Disable dependencies check
Temtaime:
Hi !
I cannot find a checkbox to disable dependencies check on compilation.
If A includes B and i've changed B, then codeblocks compiles both A and B, but i want to compile only changed files.
How i can that obtain ?
Thanks for a reply.
MortenMacFly:
This is not supported because its dangerous and will sooner or later lead to errors.
Temtaime:
I request that feature.
I have a large project written in D. It contains 40+ files with multiple dependencies.
I often change functions bodies in some files. But when i expect to compile 1-2 files while the project is being built, it recompiles almost all the files. It wastes the time.
Furthermore if i change for example functions arguments codeblocks sometimes unable to properly resolve dependencies and it leads to linker errors. I need to rebuild all the project by myself.
I want to disable that usefulless and buggy feature to save my time.
oBFusCATed:
Have you tried to use the "Project->Compile current file" command?
If the dependencies break in a C/C++ please post an example project.
If the dependencies break in a D project please post patches! :)
MortenMacFly:
--- Quote from: Temtaime on February 04, 2015, 03:57:40 pm ---I have a large project written in D.
--- End quote ---
As C::B is a C/C++ IDE the dependencies check won't work for D. You forgot to mention this important information in the first place!
However, it can be disabled, I just really didn't see a use-case. I'll see what I can do. please report as a feature request at source forge so it won't get lost (and also post a link to that FR here).
Navigation
[0] Message Index
[#] Next page
Go to full version