News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Dependencies donot work properly

Started by huzhongshan, January 08, 2011, 07:10:42 AM

Previous topic - Next topic

huzhongshan

In my workspace , there are 2 project: A.cbp B.cbp , I add A.cbp as dependencies of b.cbp in properties->build targets->dependencies , but It doesnot work.

I manually add the <Depends filename='.....' /> </project> in workspace file , it works.

Is there something wrong?

Jenna

#1
Ib B depends on A, it means A has to be build before B.
It does not mean that B is rebuild (or relinked) if A has been updated.
To cover the second case also, you have to set the dependency on an external file in "Properties -> Build targets -> Dependencies".

huzhongshan

I add a.cbp use properties->build targets->dependencies , it seems not work.
I manually add the <Depends filename='.....' /> </project> in workspace file , it works.




oBFusCATed

Reread carefully the Jens' post, he has answered you...
(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!]

huzhongshan

I found the answer , I should add the a.cbp in project dependencies , not in  properties->build targets->dependencies , [should use the button in bottom of the property sheet].