Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating dll recompilation

Status
Not open for further replies.

pankajv

Programmer
Jan 30, 2002
178
IN
Is there a by which the recompilation of a set of dlls in particular order can be automated. For e.g. I have 3 dlls. 2nd dll has a reference to the 1st dll and the 3rd dll has the reference of both 1st and 2nd. Any change in dll 1 which needs recompilation of dll 1(may be due to code change or interface change) may or may not require recompilation of dll 2 and the same is true for dll 3. In a worst scenario I might need to recompile all the dlls, which is a very painful job. If any one has done this automation process then please let me know.
 
You can use one of the GNU "make" or "nmake" tools to automate this.

You create a script file that says, when this file changes, recompile. And a further dependency that says, when this DLL changes, recompile this other DLL(s).

Chip H.
 
Chip, can you provide some pointers how to create GNU make and nmake.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top