[CMake] How to find object file locations

Brian Macy bmacy at macykids.net
Tue Aug 1 23:26:32 EDT 2006


I have a need to determine what directory object files are placed in
when built using CMake.  In 2.0, I just picked them up in the same
directory as the source.  In 2.4, they are placed in a completely new
location (<src_dir>/CMakeFiles/<project>.dir/).  Is there an CMake
variable I can check for the location or some other method that works
better?

Brian Macy




More information about the CMake mailing list