Hi,

Looks like CMAKE_DEBUG_POSTFIX does not affect executables anymore:

----------------------------8<------------------
set(CMAKE_DEBUG_POSTFIX "d")
add_executable(test main.cpp)
#set_target_properties(test PROPERTIES DEBUG_POSTFIX d)

get_target_property(dbg_location test DEBUG_LOCATION)
message(STATUS "dbg_location: ${dbg_location}")
----------------------------8<------------------
result:
...
-- dbg_location: /home/ehrlicher_c/cmake-test/test

The documentation says that CMAKE_DEBUG_POSTFIX affects all targets.
set_target_properties(test PROPERTIES DEBUG_POSTFIX d) does successfully change 
the debug postfix for the specified target.


Is this a bug or did I understand something wrong?

Thx,
Christian
-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to