User forums > Using Code::Blocks

Solution folders in C::B?

(1/2) > >>

SmokeALot:
Hello,

is there any possibility to add Visual Studio style-solution folders to an existing solution in code blocks?

Here is what I want to achieve:
http://img253.imageshack.us/img253/1280/vsfw4.jpg

http://msdn.microsoft.com/en-us/library/haytww03(VS.80).aspx

Thank you

MortenMacFly:

--- Quote from: SmokeALot on October 30, 2008, 12:02:55 pm ---is there any possibility to add Visual Studio style-solution folders to an existing solution in code blocks?

--- End quote ---
Yes. Solutions in MS are (if you like) Workspaces in C::B. A workspace can contain 1..n projects which itself can contain 1..n targets. Notice that a target may be used in different styles. Either (for example) to separate release from a debug code, but also to be a DLL / shared library / executable... whatever you like.

SmokeALot:
Actually I was refering to 'virtual' folders in a c::b workspace, in which I can add stand-alone files or c::b projects.
The point is, I have a lot of different projects (such as client/server/masterserver etc.) in my current workspace and such virtual folders would help me a lot to well arrange them.

That what I mean in VS2008:
http://img253.imageshack.us/img253/1280/vsfw4.jpg

MortenMacFly:

--- Quote from: SmokeALot on October 30, 2008, 07:44:38 pm ---Actually I was refering to 'virtual' folders in a c::b workspace, in which I can add stand-alone files or c::b projects.

--- End quote ---
Yes, C::B supports that. Just right-click on the project and inspect the menu... ;-)

SmokeALot:

--- Quote from: MortenMacFly on October 30, 2008, 08:38:07 pm ---
--- Quote from: SmokeALot on October 30, 2008, 07:44:38 pm ---Actually I was refering to 'virtual' folders in a c::b workspace, in which I can add stand-alone files or c::b projects.

--- End quote ---
Yes, C::B supports that. Just right-click on the project and inspect the menu... ;-)

--- End quote ---
Probably my own stupidity, but I still do not get it. As seen in the picture I posted above, I want to create a virtual folder (as a direct child of the workspace, not a project), whose children are projects. I do know that there are virtual folders in projects, but I need the same functionality in a workspace.

On right-clicking on Workspace, I only get these options:

Rename workspaces...
---------------------
Save workspace
Save workspace as...
---------------------
Find File...
---------------------
Close workspace

Navigation

[0] Message Index

[#] Next page

Go to full version