Visual C++ 2010 Different configurations for multiple projects

83 Views Asked by At

I've got a solution with multiple projects. Now every project has its own configuration and nearly all projects do even have multiple configurations. When building the projects I want that all configurations that do exist are built. Is there a way to do this automatically without picking every configurations by hand and start the building process over and over again?

2

There are 2 best solutions below

1
On BEST ANSWER

To do it by hand in MSVC GUI you can do the following: 1. Right-click on the solution, in the popup menu go to the menu item "Batch build..." 2. In the dialog that will appear, do "Select all" or just select the projects/configurations you need. 3. Click button "Build" (or "Rebuild" if you prefer a clean build).

0
On

You could write an MSBuild or NAnt script (or even a plain old batch file) to compile all the configurations so you don't have to do it all by hand.