Do dependencies auto-chain?

Do dependencies auto-chain?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Do dependencies auto-chain?

Post by Pxtl »

That is, if mod A depends on mod B, and mod B depends on mod C, then must mod A include mod C in it's dependency list?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I don't think so. It depends on packages, not mods. I'd be surprised if it bothers to read the mod.tdf from included packages.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

No, because mod B calls modC mod A would have it by inheretence.

Think linbrary call in a header, the header, library call and main program are one by linking in the executable...

but for a more practical example:

.../taspring/base/springcontent.sdz
calls: bitmaps.sdz;
Which is used by many mods. Now, as far as how DEEP that can go, I have no idea :P
Post Reply

Return to “Engine”