Author Topic: Are Project's Dependencies not stored in project?  (Read 2666 times)

Offline photon3108

  • Multiple posting newcomer
  • *
  • Posts: 32
Are Project's Dependencies not stored in project?
« on: August 30, 2009, 03:30:52 pm »
If I remove project from workspace, project's dependencies setting also lose.

Sometimes I need to change the projects of workspace so it is important to me.

If project can store its dependencies, I don't need to select them again at next

time.


How to store the setting?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Are Project's Dependencies not stored in project?
« Reply #1 on: August 30, 2009, 05:10:12 pm »
There is no way to do this (I think).
The dependencies are stored in the workspace file.

By the way, I also think that is the wrong place to store them  :lol:
Here is an example that shows the problem with this approach:

We have 4 projects libA, libB, appA and appB.
We have the following dependencies:
libB depends on libA
appA depends on libB
appB depends on libB

appA and appB are in separate workspaces

With the current approach the user have to set the dependencies of libB (depends on libA) in the workspace for appA and appB.
And if something changes (another lib is added) should redo the work in both workspaces again.
And this was just a simplified example, in practice there 10-20 libs and 10-20 apps (my current project at work is such one).

Storing the dependencies in the *.cbp file will enable C::B to automatically add the missing lib projects to the current workspace or to show an error message that some project can't be opened

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]