I’m maintaining a quite large legacy application. The source tree is a real mess.
I’m trying to set up a build server.
On the source tree, I’ve third party component with sources (also in the project’s include path). These components are also installed within the IDE.
My question is :
How to manage those components ?
I thought to manage this way:
- Install the IDE on the build server
- Install all the third party component
- Remove the component sources from the project sources tree (and keep them on the project root on a dedicated folder each zipped)
- Each time we need to customize (or debug) a third party component we re-build the package and re-install it in the IDE of the build server (and on each developers workstation)
What’s the difference between having the components installed in the IDE and having the sources in the include path ? How the linker handle that case ?
We have set up our daily builds using simple command files.
The BuildServerRun.cmd file takes care of
All paths to external components are configured in the dcc32.cfg file
Example of a Build.cmd.
Note: we have a policy to compile to bin\dcu, exe to bin, hence the -N, -E directives.
Example of snipped BuildServerRun.cmd