User forums > Using Code::Blocks

Exclude Projects from Workspace Rebuild?

<< < (2/2)

aphirst:

--- Quote from: Commaster on March 01, 2017, 06:36:30 pm ---What happens, if you right-click the project on the side panel and select Rebuild there?

--- End quote ---
I get the exact same behaviour as I mention in my original post.

killerbot:
I think this is a good suggestion, to indeed have a non recursive (non dependency) build, sometimes I also wish for that. Certainly when for example you are depending on like +-100 libraries, then I takes a lot of time to just visit tehm all to conclude nothing needs to be done there.

BlueHazzard:
I made a experimental plugin that can do this: https://github.com/bluehazzard/cbSelectiveCompiling
It won't work with the current Codeblocks, because it is a squirrel plugin, but i think this would be an idea to port.

oBFusCATed:
This is not a feature a plugin should implement. It should be added to the compiler plugin.

@killerbot: The slowness is a cb problem and not a problem with checking file's timestamps. I think I have a partial solution in the works.

cacb:

--- Quote from: stahta01 on March 01, 2017, 06:33:49 pm ---
Create a separate workspace with no project dependencies.

Tim S.

--- End quote ---

I have, and want to have, a single workspace with the dependencies described. I don't want to model the same dependencies in multiple workspaces to work around this issue. It is just that sometimes, as you are editing the source of one of the projects, you know you will have to rebuild the current project, but not the projects upon which it depends. It is as simple as that.

All my projects generate object files and binaries in a .cmp subfolder. My current work around for the above situation is to delete that subfolder and hit build instead of rebuild. I guess if C::B could offer an option to "Clear this project but not the dependencies" it would be a way to handle this situation.

Navigation

[0] Message Index

[*] Previous page

Go to full version