views:

405

answers:

1

Our continuous integration system currently runs a perl script to parse our sln/proj files to set the following options:

DebugInformationFormat="0" GenerateDebugInformation="FALSE"

Preventing generation of pdbs allows us to increase the parallelization of the CIS compile. However, this method seems hacky and occasionally fails - is there a better method?

The only alternative I can think of is adding a configuration called REALEASE_NOPDB, but I'm afraid that will complicate maintenance of the REALEASE configuration - maintainers will have to ensure to reflect all changes to the NOPDB version when changes are made.

Suggestions?

+1  A: 

This answer mentions *.vsprops files as a way to propagate "global" information across projects. Perhaps they can solve your problem too.

Otherwise, I would suggest that you let CMake generate your solution and project files.

JesperE