Jump to content

Switching compiling mode


Paco1863

Recommended Posts

I think I have Plastic SCM configured correctly and am getting ready to start using it with our production software. I have a few questions dealing with setting up the projects. I am developing in VS 2010. So here is my question - my first thought is to set up the following hierarchy;

project (set to compile in release mode)

|

Debug project (set to compile in debug mode - branch from the project)

Defect branch (branch from Debug project branch)

When a defect/task has been completed merge with the Debug project, merge to the project and compile a release version. The question is how to set the project to release mode and the debug project to debug mode? Do I have to manually change the mode each time or is there another simpler way?

I hope this makes some kind of sense.

Thanks in advance

Bob

Link to comment
Share on other sites

Hola Paco,

Yes, I think doing it at the build level is, by far, the best option.

Despite of the fact that Visual Studio can handle different build configurations, I'd rather go for a build script in NAnt or MSBuild and follow the "Joel's rule" (you know, Joel Spolsky, from Joel on Software) which says "ensure you can build on a single step" (typically a script file).

pablo

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...