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

Change debug/release targets postfix on Windows #3055

Merged
merged 1 commit into from
May 3, 2019

Conversation

SunBlack
Copy link
Contributor

@SunBlack SunBlack commented May 2, 2019

  • Release: _release =>
  • Debug: _debug => d
  • RelWithDebInfo: _release => rd
  • MinSizeRel: _release => s

Reason: Currently we are deploying files of PCL in our installer as they are, so they have the postfix _release, which looks really ugly. All other dependencies of us are using no postfix for release build. Didn't found how Qt is handling RelWithDebInfo and MinSizeRel (Usage of POSTFIX I just found there in 3rd-Party directory of Chromium), so I took it from OpenSceneGraph (one of the first hits if you search for CMAKE_DEBUG_POSTFIX)

- Release:        "_release" => ""
- Debug:          "_debug"   => "d"
- RelWithDebInfo: "_release" => "rd"
- MinSizeRel:     "_release" => "s"
@SergioRAgostinho
Copy link
Member

Sounds good to me. Probably a good idea to ping @UnaNancyOwen for his opinion.

@UnaNancyOwen
Copy link
Member

I agree with your opinion, In general, the postfixes are only added to libraries for debug.
By the way, I think that postfixes for debug libraries has several patterns. Which do you like? (It’s just a matter of preference.)

  • d (opencv, ...)
  • _d (qhull, ...)
  • -gd (boost, vtk, ...)

@SunBlack
Copy link
Contributor Author

SunBlack commented May 2, 2019

By the way, I think that postfixes for debug libraries has several patterns. Which do you like? (It’s just a matter of preference.)

I know, that's why it is now configurable via CMake GUI 😉

@taketwo taketwo merged commit feb198f into PointCloudLibrary:master May 3, 2019
@SunBlack SunBlack deleted the update_postfix branch May 3, 2019 14:16
@taketwo taketwo changed the title Change postfix of targets Change debug/release targets postfix on Windows Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants