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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to