views:

12

answers:

1

We have a fairly big code base with several platform and build configurations, and our vcproj files keep growing exponentially. We are using visual studio 2005. The problem is that every time we add a build configuration or platform all file configuration needs to be multiplied for each files in project.

For example:

<FileConfiguration
                Name="Config1|Platform1"
                ExcludedFromBuild="true"
                >
                <Tool
                    Name="VCCLCompilerTool"
                />
            </FileConfiguration>
<FileConfiguration
                Name="Config2|Platform1"
                ExcludedFromBuild="true"
                >
                <Tool
                    Name="VCCLCompilerTool"
                />

And so on for all platform and config combination. I have two questions about this:

  1. Is there any way to supply one file configuration which is relevant for all these combinations?

  2. Is Name="VCCLCompilerTool" important to specify, or thats default anyway?

Thanks in advance.

A: 

Of course platform1, platform2, config1, config2 are not real names, I just wrote it for an example. Rest assured, we DO need much config and platforms in our project. So the question remains. Is there any way to merge these settings for multiple platform/configuration combination?

arkar