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

Rob Mathews Rob.Mathews at varolii.com
Wed May 9 10:30:43 EDT 2007


Nope. That's what the configurations are for, - ie, Debug, Release,
RelWithDebInfo, for example.

Just adding the string "<project>.dir" to the path doesn't get you
anything.

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

Rob Mathews wrote:
> If I had fred.cpp in both the foo and bar directories, 
> then 
> foo/Debug/fred.obj 
> and
> bar/Debug/fred.obj
> are different files, and so that works fine. 
> 
> Hmm ... you must be talking about support for the case where the
> intermediate directories are all off somewhere else? That's doesn't
seem
> to be the default for CMake.

The <project>.dir directories are so that the same source file compiled
in different targets in the same directory with different flags work.

-Brad




More information about the CMake mailing list