The scikit_build_core.setuptools.wrapper.setup shim is a compatibility layer designed to behave as closely as possible to the classic skbuild.setup.
When using this shim, you can use the following environment variables to pass configuration:
SKBUILD_CONFIGURE_OPTIONS: Extra arguments appended during configuration (analogous to SKBUILD_CMAKE_ARGS).SKBUILD_BUILD_OPTIONS: Extra arguments forwarded to cmake --build. Use a leading -- to pass native build-tool options (e.g., SKBUILD_BUILD_OPTIONS="-- -l4").
Note: These environment variables have no effect if you are using the standard scikit_build_core.setuptools.build_meta backend or setuptools.build_meta directly.