https://bugs.kde.org/show_bug.cgi?id=359572

--- Comment #5 from Mark <mark...@gmail.com> ---
(In reply to Allen Winter from comment #4)
> recently I added code like this to a project.
> Might be of use to you.
> 
>   string(TOUPPER ${CMAKE_BUILD_TYPE} UPPER_BUILD_TYPE)
>   if(${UPPER_BUILD_TYPE} MATCHES "^DEBUG")
>     set_target_properties(your_library PROPERTIES DEBUG_POSTFIX "d")
>   endif()

I don't think it's that easy.

That would probably work and create a d-suffixed library, however using "QT +=
KArchive" would probably still try to load the non d-suffixed library. Unless
set_target_properties also handles the qmake stuff?

Also, adding this manually is a workaround. This should be addressed in ECM so
that all build (on windows) get d-suffixed debug builds.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to