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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Build order in multi-project Workspace?

Status
Not open for further replies.

micc2

Programmer
Dec 5, 2003
8
GB
I am trying to create a Master Build comprising many separate projects.
I know I can use a batch Makefile, but I thought it would be easier to create a single "MasterBuild" project and add all the projects (via "Insert project into workspace").

However, now that I have done this, I cannot figure out a way to control the order of the build. I want to build the utility projects (which every other project relies on) first.

I know I can set up Project Dependencies, but when I do this the utility projects are rebuilt for every new project build.

Is it possible to specify the order of builds, or do I just need to use a BATCH file?
 
>I know I can set up Project Dependencies, but when I do this the utility projects are rebuilt for every new project build.

Hmmm, then something's fishy in your configuration because only what need to be rebuilt should be rebuilt.

How is stuff dependant on the utility projects?
If not already (but then it should actually work), I suggest you let the utility project produre .lib's you link in.

That way you they will only be rebuilt if you change something in them, and dependant projects will be rebuilt accordingly.

/Per

"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
 
Thanks PerFnurt, I've double-checked and I was wrong in my assumptions. It does not re-build dependant projects after all. Sorry for wasting your time........
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top