[CMake] RE: CMake 2.4.1/VC71 Why the wierd <project>.dir subdirs?

Rob Mathews Rob.Mathews at varolii.com
Wed May 9 13:47:42 EDT 2007


Ah, ok, now that makes sense. 

But if you *aren't* doing that.. then you don't need this. 

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com] 
Sent: Wednesday, May 09, 2007 12:59 PM
To: Rob Mathews
Cc: David Cole; cmake at cmake.org; Bill Hoffman
Subject: Re: [CMake] RE: CMake 2.4.1/VC71 Why the wierd <project>.dir
subdirs?

Rob Mathews wrote:
> Seems pretty clear that it returns "<project>.dir" and sets
> IntermediateDirectory to it. Thus you would get
> 
> IntermediateDirectory=<project>.dir
> 
> and since Visual Studio interpretes that relative path as relative to
> the project dir, you get
> 
> <project>/<project>.dir/Debug
> <project>/<project>.dir/Release
> 
> etc on your disk. 
> 
> Which I continue to maintain is pointless. 

It is interpreted relative to the directory containing project.vcproj.
What if there is more than one .vcproj file in the same directory?

-Brad




More information about the CMake mailing list