Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: oBFusCATed on May 26, 2011, 10:58:45 am
-
Is there a feature, which is similar to the unload project in Visual studio.
I want to skip some projects, when building the whole workspace, but I don't want to remove them from the workspace.
Is this possible or easily implementable?
-
Is this possible or easily implementable?
Sure, just setup (a) virtual target(s) that includes only the targets / projects you need. That's what virtual targets are for. VT's work across projects in a WS, obviously.
-
I was expecting this answer :(
-
I was expecting this answer :(
But what's wrong with it? :shock:
You can even use scripting to setup the virtual targets for you, e.g. if the targets you want to group have same namings...
-
Because it is not the same functionality, but something that emulates it.
Also I should have many more targets than needed.
-
Because it is not the same functionality, but something that emulates it.
Well - but I would not "unload" it. Rather just introduce a flag "project disabled" and you are done.
I am not exactly sure what you do, but maybe also the platform flag is what you are looking for. Projects/targets in a WS not flagged for the current platform are being skipped.