How to create all configurations of a Visual Studio 2008 C ++ project on the command line?

I would like to build all the configurations of the VS 2008 C ++ project on the command line. Sort of:

devenv TheProject.vcproj / build / nologo

But this will not work, because the / build command insists that the following configuration looks like this:

devenv TheProject.vcproj / build "Release | Win32" / nologo

Is there a way to get the assembly on the command line of all the configurations in the vcproj file?

+3
source share
3 answers

I thought you could do what you want with MSBUILD, but it doesn't seem like much better than DEVENV.

, , MSBUILD DEVENV.

, , , "", VS 2008 .

http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/8701b3d0-d5c9-45fb-8dd4-e7700c8caca6/

+2

VS . , . Advanced. ? VS IDE .

,

:

  • , .

  • script, . , .

0

Not directly, but projects can be dependent on other projects - so you could create an “all” or “install” project with the dependency of everything else.

0
source

Source: https://habr.com/ru/post/1753726/


All Articles