What are "solution configurations" in visual c++ 2005/2008? -


msvc++ docs:

this example builds project csharpconsoleapp, using debug project build configuration within debug solution configuration of mysolution.

devenv "c:\documents , settings\someuser\my documents\visual studio\projects\mysolution\mysolution.sln" /build debug /project "csharpwinapp\csharpwinapp.csproj" /projectconfig debug

i confused solution configuration , how differs/relates project configuration. in 1 of our build scripts have lines like:

devenv ..\projectx.vcproj /build releaseunicode /project projectx /projectconfig "releaseunicode|win32" /out ..\buildlogs\build_projectx.log

but doesn't match msdn's example , still seems kind of redundant, can me understand more clearly?

a solution configuration substantially set of project configurations settings, i.e. quick way build project particular configuration setting each project.

for example, may have solution containing gui application , several library uses; projects may have "static library" , "dynamic library" project configuration (to build libraries .lib or .dll library projects, static/dynamic linking against libraries gui project). in such case, want have "static" , "dynamic" solution configuration build projects in 1 or other configuration , obtain result of build either 1 big fat exe or lean exe , several dlls.

other "classic" uses manage unicode/ansi builds of projects, or have custom debug/release configurations between various projects (if using tested library may want compile in "release" mode, instead having debug/release builds of main program, set solution configurations "debug" , "release" affect main project , not library).


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -