Click here to Skip to main content
11,927,711 members (53,551 online)
Click here to Skip to main content
Add your own
alternative version


25 bookmarked

Build Manager AddIn [VC 6.0]

, 27 Jul 2003
Rate this:
Please Sign up or sign in to vote.
Enhancement of the AutoBld sample AddIn
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS--><!-- Download Links --> <!-- Add the rest of your HTML here -->


Sometimes development projects grow huge. You might have multiple workspaces with project dependencies and pragma-linking requiring a specific build order.

This little AddIn lets you define an arbitrary build order for your projects.


The code is based on the sample AddIn called AutoBld that comes with VC6. The main enhancement is that you now can change the build order for each project whereas the AutoBld AddIn only allows to set up a build order for Workspaces.


Simply put the binary into your %MSDevDir%\AddIns folder and enable it in the Tools | Customize | AddIns & Macros dialog.


The AddIn installs a toolbar with two icons.

The first button "Configure" opens the configuration dialog:

Configuration Dialog

The configuration dialog lets you specify mail settings to execute when a project or configuration has finished building. You can also chose to close DevStudio, Log off or shut the computer down after all comfigurations have finished building.

Through the "Projects To Build" you can specify the projects that will be built for each configuration. That is also where you can set up the order in which the projects will be built.

Projects Dialog

The second button "Run" lets you choose the build settings:

Build Dialog

Chose the build type and enable the configurations you wish to build, then hit OK to start the build process. 


There is one subtlety to the implementation: After the Build command is issued to DevStudio via its IApplication interface you can watch the output window and see that the project has long finished building. Nevertheless, DevStudio won't send the BuildFinished event - no matter how long you wait. The current implementation tries to force the dispatching of the BuildFinish event by re-issuing the Build command for the "hung" project. If anyone could point me to a better strategy I would surely appreciate it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Roman Keskenti [SmoCoder]
Web Developer
Germany Germany
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralNice tool. Pin
kranthikrl8-Oct-03 13:36
memberkranthikrl8-Oct-03 13:36 
GeneralRe: Nice tool. Pin
Roman Keskenti [SmoCoder]9-Oct-03 7:57
memberRoman Keskenti [SmoCoder]9-Oct-03 7:57 
GeneralMicrosoft eMebedded Visual C++ 3.0 support Pin
Serge R29-Jul-03 3:41
memberSerge R29-Jul-03 3:41 
Microsoft eMebedded Visual C++ 3.0 support would be nice Big Grin | :-D

Btw great add-in.
QuestionHow about time schedule? Pin
Paul Selormey28-Jul-03 15:06
memberPaul Selormey28-Jul-03 15:06 
AnswerRe: How about time schedule? Pin
Roman Keskenti [SmoCoder]29-Jul-03 2:28
memberRoman Keskenti [SmoCoder]29-Jul-03 2:28 
QuestionEmail ? Pin
Jonathan de Halleux28-Jul-03 14:23
memberJonathan de Halleux28-Jul-03 14:23 
AnswerRe: Email ? Pin
Roman Keskenti [SmoCoder]28-Jul-03 14:49
memberRoman Keskenti [SmoCoder]28-Jul-03 14:49 
AnswerRe: Email ? Pin
Paul Selormey28-Jul-03 14:54
memberPaul Selormey28-Jul-03 14:54 
AnswerRe: Email ? Pin
Rodney Schuler29-Jul-03 6:58
memberRodney Schuler29-Jul-03 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151126.1 | Last Updated 28 Jul 2003
Article Copyright 2003 by Roman Keskenti [SmoCoder]
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid