[CMake] [VS gen] Multiple configurations code

Olaf van der Spek olafvdspek at gmail.com
Mon Jul 26 16:35:49 EDT 2010


On Mon, Jul 26, 2010 at 10:31 PM, John Drescher <drescherjm at gmail.com> wrote:
> You do not have multiple copies of the source. You have 1 copy of the
> source that you build in multiple trees. For me I build 32 and 64 bit
> for multiple compilers. They all share the same source tree but have
> different build trees.
>
> For example my source is in
>
> X:\CmakeBased
>
> My builds are in
>
> X:\32bit\vs.71
> X:\32bit\vs.80
> X:\32bit\vs.90
>
> X:\64bit\vs.80
> X:\64bit\vs.90
>
> For each build I need to open the appropriate project file in the build tree.

Isn't it easier to use the command line?
If this is automated, it's not too bad.
Does CMake provide a way to automate this?

Olaf


More information about the CMake mailing list