Files
pybind11/tools/pybind11.pc.in
Henry Schreiner 1d3436ada0 feat: expose the precompiled-mode sources to non-CMake builds
Adds pybind11.get_source_dir() / python -m pybind11 --srcdir and a
srcdir variable in pybind11.pc, so build systems such as Meson can
compile src/pybind11_combined.cpp with PYBIND11_PRECOMPILED defined.

Assisted-by: ClaudeCode:claude-fable-5
2026-08-17 00:50:35 -04:00

9 lines
224 B
Plaintext

prefix=@prefix_for_pc_file@
includedir=@includedir_for_pc_file@
srcdir=@srcdir_for_pc_file@
Name: @PROJECT_NAME@
Description: Seamless operability between C++11 and Python
Version: @PROJECT_VERSION@
Cflags: -I${includedir}