Skip to content

Docs: No Strip in Debug #3779

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

Merged
merged 1 commit into from
Mar 17, 2022
Merged

Docs: No Strip in Debug #3779

merged 1 commit into from
Mar 17, 2022

Conversation

ax3l
Copy link
Collaborator

@ax3l ax3l commented Mar 4, 2022

Description

The docs were not 100% the same as we advertise and do with our high-level tooling function: most users do not want to strip symbols in Debug builds.

Suggested changelog entry:

* compilation documentation: guard ``pybind11_strip`` to keep symbols in debug builds

The docs were not 100% the same as we advertise with our
tooling function: most users do not want to strip symbols
in Debug builds.
@ax3l ax3l added the docs Docs or GitHub info label Mar 4, 2022
@ax3l ax3l requested a review from henryiii March 4, 2022 23:21
@henryiii
Copy link
Collaborator

henryiii commented Mar 5, 2022

@ax3l
Copy link
Collaborator Author

ax3l commented Mar 5, 2022 via email

@ax3l
Copy link
Collaborator Author

ax3l commented Mar 8, 2022

@henryiii does this clarify things? :)

@henryiii
Copy link
Collaborator

henryiii commented Mar 9, 2022

We have to support CMake 3.4+ in our code. But 3.9+ can use GENERATOR_IS_MULTI_CONFIG, which is what we actually mean - it's not MSVC specific, it's just CMAKE_BUILD_TYPE is not valid on multi config generators, including Xcode & Ninja in multiconfig mode.

We probably should include those generators in our code too, thinking about it...

@ax3l
Copy link
Collaborator Author

ax3l commented Mar 17, 2022

Agreed as a follow-up. Currently this just documents what we do already :)

@ax3l ax3l merged commit a7e7a6e into pybind:master Mar 17, 2022
@ax3l ax3l deleted the docs-no-strip-in-debug branch March 17, 2022 18:21
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Mar 17, 2022
rwgk pushed a commit to rwgk/pybind11 that referenced this pull request Mar 18, 2022
The docs were not 100% the same as we advertise with our
tooling function: most users do not want to strip symbols
in Debug builds.
henryiii pushed a commit to henryiii/pybind11 that referenced this pull request Mar 25, 2022
The docs were not 100% the same as we advertise with our
tooling function: most users do not want to strip symbols
in Debug builds.
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Docs or GitHub info
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants