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

Brad King brad.king at kitware.com
Wed May 9 10:28:33 EDT 2007


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