Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
>       Thanks Brad. 
>       So for those two lines: 
> SET(CMAKE_DEBUG_POSTFIX "Debug")
> GET_TARGET_PROPERTY(LIBNAME Foo LOCATION)
>       Should I get?
> <prefix>/lib/libfooDebug.a
>       I am getting (no 'Debug'):
> <prefix>/lib/libfoo.a
>       but libfooDebug.a is generated.

The debug postfix has to be set when the library is created.  Better yet
use SET_TARGET_PROPERTIES just after the ADD_LIBRARY call to set the
DEBUG_POSTFIX target property.

-Brad

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to