[CMake] 3rd party modules
Brad King
brad.king at kitware.com
Fri Sep 29 15:58:11 EDT 2006
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
> That didn't do it. This is what I am doing:
> ADD_LIBRARY(Foo foo.cpp)
> SET_TARGET_PROPERTIIES(Foo PROPERTIES DEBUG_POSTFIX "Debug")
> GET_TARGET_PROPERTY(LIBNAME Foo LOCATION)
> I am still getting libfoo.a for the ${LIBNAME} but
> libfooDebug.a is generated.
> Am I missing something?
No, this is a bug. See here:
http://www.cmake.org/Bug/bug.php?op=show&bugid=3250&pos=1
The LOCATION property presents a challenge for per-configuration names
as explained in that bug report. It basically isn't implemented for
that case right now.
-Brad
More information about the CMake
mailing list