News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Can't set project dependencies

Started by jomeggs, April 13, 2008, 08:24:09 PM

Previous topic - Next topic

jomeggs

Hi,

currently it's not possible for me to set project dependencies. I've 5 projects in my workspace. In the projects window, I selected my active project and right-clicked to get the popupmenu. After that I clicked "Properties" and then the button "Projects dependencies...". Here then, I clicked the checkboxes of two dependant projects. All seems to be ok.

After closing and reopening the dependencies window the checkboxes are marked as expected. I saved the project and closed Code::Blocks. After reopening Code::Blocks, the named checkboxes are no longer marked, the dependencies are gone.

Windows XP
CB svn 5000

jomeggs

The dependencies will be saved if I manually select "Save Workspace" before closing Code::Blocks.

"Save Project" + "Save everything" or simply "Save Project" won't work. Curious... :?

Belgabor

Not really curious as dependencies are a workspace property, not a project property. It's just edited through the project settings dialog :)

jomeggs

#3
Quote from: Belgabor on April 14, 2008, 08:18:40 PM
Not really curious as dependencies are a workspace property, not a project property.

I nearly can't believe. I selected explicitly "Projects dependencies" from menu. Shure, there is a relation between workspace and project, but the dependencies have to project properties. I'm wrong at this point??

Edit
But, you are right, the dependencies are saved in workspace file...