Skip to content

Commit

Permalink
Add add_pybind11
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Feb 8, 2025
1 parent 17d49da commit 39828af
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions codepy/libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@ def add_boost_python(toolchain: Toolchain) -> None:
])


def add_pybind11(toolchain: Toolchain) -> None:
import pybind11

toolchain.add_library(
"pybind11",
[pybind11.get_include(False)],
[],
[])


def add_boost_numeric_bindings(toolchain: Toolchain) -> None:
aksetup = get_aksetup_config()
toolchain.add_library(
Expand Down

0 comments on commit 39828af

Please sign in to comment.