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
9 lines
224 B
Plaintext
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}
|