[CMake] TARGET.dir variable?

Alexander Neundorf a.neundorf-work at gmx.net
Mon Oct 21 13:39:43 EDT 2013


On Monday 21 October 2013, Weatherby,Gerard wrote:
> Is there a predefined variable for the TARGET.dir subdirectory of
> ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY} ? I'm rolling my own -
> easy enough -but wanted to double check I'm not missing an easier way to
> do it?

No, there is not, and the actual directory name is an implementation detail, 
so it might change without further notice (but hasn't for some years and I 
don't see why it should soon).

Alex


More information about the CMake mailing list