[Cmake] Getting target's full path

Iker Arizmendi iker at research.att.com
Wed, 14 Apr 2004 12:57:41 -0400


Is there any way to obtain the full path of
a target?

Eg,

   ADD_LIBRARY(MyLib STATIC SRCS)
   SET(MyLibPath GET_TARGET_PATH(MyLib))

or something similar? I'm trying to get the
path in order to add other static libraries to
MyLib (so my clients don't have to include
them explicitly).


-- 
Iker Arizmendi
AT&T Labs - Research
Speech and Image Processing Lab
e: iker at research.att.com
w: http://research.att.com