Skip to content

Docs: No Strip in Debug - #3779

Merged
ax3l merged 1 commit into
pybind:masterfrom
ax3l:docs-no-strip-in-debug
Mar 17, 2022
Merged

Docs: No Strip in Debug#3779
ax3l merged 1 commit into
pybind:masterfrom
ax3l:docs-no-strip-in-debug

Conversation

@ax3l

@ax3lax3l commented Mar 4, 2022

Copy link
Copy Markdown
Collaborator

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.
@ax3lax3l added the docs Docs or GitHub info label Mar 4, 2022
@ax3l
ax3l requested a review from henryiiiMarch 4, 2022 23:21
@henryiii

Copy link
Copy Markdown
Collaborator

@ax3l

ax3l commented Mar 5, 2022 via email

Copy link
Copy Markdown
CollaboratorAuthor

@ax3l

ax3l commented Mar 5, 2022

Copy link
Copy Markdown
CollaboratorAuthor

@ax3l

ax3l commented Mar 8, 2022

Copy link
Copy Markdown
CollaboratorAuthor

@henryiii does this clarify things? :)

@henryiii

henryiii commented Mar 9, 2022

Copy link
Copy Markdown
Collaborator

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

ax3l commented Mar 17, 2022

Copy link
Copy Markdown
CollaboratorAuthor

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

@ax3l
ax3l merged commit a7e7a6e into pybind:masterMar 17, 2022
@ax3l
ax3l deleted the docs-no-strip-in-debug branch March 17, 2022 18:21
@github-actionsgithub-actionsBot 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.
@henryiiihenryiii removed the needs changelog Possibly needs a changelog entry label Mar 29, 2022
@rwgkrwgk mentioned this pull request Feb 10, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocs or GitHub info

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ax3l@henryiii@Skylion007