Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
About project dependencies...
mandrav:
--- Quote from: Michael on December 12, 2005, 06:52:21 pm ---For what I know, you select which projects depend on which other by using a dialog box. These dependencies are successively stored into a solution file.
--- End quote ---
Thanks Michael :)
If what you say is true, it would be *too* easy ;)
Let me check out the link you gave me...
MortenMacFly:
--- Quote from: mandrav on December 12, 2005, 06:17:40 pm ---Is there a kind soul that could enlighten me?
--- End quote ---
I've attached the GUI how it is implemented in VC6 and VC.NET (2003). I hope this helps.
Morten.
Edit: :oops: :oops: :oops: Sorry, I've just seen that this is in german language. :oops: :oops: :oops:
To clarify:
MSVC6:
- "Projektabhängikeiten" = "Project dependencies"
- "Zu bearbeitendes Projekt markieren" = "Select project to modify"
- "Abhängig von folgenden Projekten" = "Depends on the following projects"
NET2003 (in addition):
- "Abhängigkeiten" = "Dependencies"
- "Buildreihenfolge" = "Build order"
- "Projekte in dieser Reihenfolge erstellen" = "Build projects using the following order:"
- "Verwenden Sie die Registrierkarte..." = "Use the dependencies tab to change the build order."
[attachment deleted by admin]
Michael:
--- Quote from: mandrav on December 12, 2005, 07:04:29 pm ---Thanks Michael :)
If what you say is true, it would be *too* easy ;)
--- End quote ---
You are welcome :).
Here is an example of solution file which includes project dependencies:
--- Quote ---Microsoft Visual Studio Solution File, Format Version 8.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DXUT", "DXUT_2003.vcproj", "{E0CF097B-F22D-465B-A884-D89E55BD7ECD}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TESTDEP", "..\TESTDEP\TESTDEP.vcproj", "{DD91AD42-5DD3-4DF0-9DCB-1B6256118C8F}"
ProjectSection(ProjectDependencies) = postProject
{E0CF097B-F22D-465B-A884-D89E55BD7ECD} = {E0CF097B-F22D-465B-A884-D89E55BD7ECD}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{E0CF097B-F22D-465B-A884-D89E55BD7ECD}.Debug.ActiveCfg = Debug|Win32
{E0CF097B-F22D-465B-A884-D89E55BD7ECD}.Debug.Build.0 = Debug|Win32
{E0CF097B-F22D-465B-A884-D89E55BD7ECD}.Release.ActiveCfg = Release|Win32
{E0CF097B-F22D-465B-A884-D89E55BD7ECD}.Release.Build.0 = Release|Win32
{DD91AD42-5DD3-4DF0-9DCB-1B6256118C8F}.Debug.ActiveCfg = Debug|Win32
{DD91AD42-5DD3-4DF0-9DCB-1B6256118C8F}.Debug.Build.0 = Debug|Win32
{DD91AD42-5DD3-4DF0-9DCB-1B6256118C8F}.Release.ActiveCfg = Release|Win32
{DD91AD42-5DD3-4DF0-9DCB-1B6256118C8F}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
--- End quote ---
The TESTDEP project depend on DXUT project.
Hope this could help a bit.
Michael
takeshimiya:
And here a MSVC 6 version of a workspace (*.dsw) containing dependencies:
The dependencies are as following:
ProjTest
depends on ProjDynLib
depends on ProjLib
ProjAnotherLib
depends on ProjDynLib
--- Code: ---Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "ProjAnotherLib"=.\ProjAnotherLib\ProjAnotherLib.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name ProjDynLib
End Project Dependency
}}}
###############################################################################
Project: "ProjDynLib"=.\ProjDynLib\ProjDynLib.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "ProjLib"=.\ProjLib\ProjLib.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "ProjTest"=.\ProjTest.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name ProjDynLib
End Project Dependency
Begin Project Dependency
Project_Dep_Name ProjLib
End Project Dependency
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
--- End code ---
Attached is a MSVC 6 screenshoot.
[attachment deleted by admin]
takeshimiya:
I want to add that MSVC 2005 Compiler is the same as MSVC 2003 regarding this, only changes
Microsoft Visual Studio Solution File, Format Version 8.00
to
Microsoft Visual Studio Solution File, Format Version 9.00
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version