[CMake] location for *.o files

Brad King brad.king at kitware.com
Thu Sep 1 16:15:39 EDT 2005


Chris Burns wrote:
> I'd like to have all of the .o files to be placed in a particular  
> directory. I dont' want them to be in the directory that the  
> executables to in, and I don't want them intermingled with the source  
> files. What variable do I set to make this happen?

There is no variable for this.  However, CMake 2.2 places them in a 
subdirectory on a per-target basis.  This should keep them out of the way.

-Brad


More information about the CMake mailing list