Skip to content

Why does scikit-build-core strip debug info by default? #875

@godlygeek

Description

@godlygeek

The documentation explains that debug info is stripped by default regardless of build type, but doesn't explain why. It is extremely surprising to me that, on top of configuring CMake to generate debug info for my extension module, I additionally need to configure scikit-build-core to leave that debug info alone. What's the rationale for that default? Why doesn't tool.scikit-build.cmake.build-type = "RelWithDebInfo" imply tool.scikit-build.install.strip = False ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions