Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMakeLists.txt to add a 'd' sulffix to the lib built for debug #63

Closed
wants to merge 2 commits into from

Conversation

fabiocomm5
Copy link

This command was added to separate the debug and release version, otherise it was need the rename the lib when alternate the compilation between debug and release in the main application.

I have noted that kdchart makes such a separation but I did not find how it is done there.

@dfaure-kdab
Copy link
Member

I already see

KDReports/src/CMakeLists.txt:        set_target_properties(kdreports PROPERTIES DEBUG_POSTFIX ${postfix})

Why is this not working?

@fabiocomm5
Copy link
Author

fabiocomm5 commented Jul 31, 2024 via email

@fabiocomm5
Copy link
Author

fabiocomm5 commented Jul 31, 2024 via email

This command was added to separate the debug and release version, otherise it was need the rename the lib when alternate the compilation between debug and release in the main application.

I have noted that kdchart makes such a separation but I did not find how it is  done there.
@dfaure-kdab
Copy link
Member

I asked my colleagues (who know more about Windows than me) whether RelWithDebInfo should get the 'd' suffix or not. Here's the reply: the 'd' is for MSVC debug runtime, not for debug symbols, so RelWithDebInfo shouldn't have the 'd'.

@fabiocomm5
Copy link
Author

fabiocomm5 commented Aug 2, 2024 via email

@dfaure-kdab
Copy link
Member

Thanks for the explanations, closing.

@dfaure-kdab dfaure-kdab closed this Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants