mirror of
https://github.com/google/benchmark.git
synced 2024-11-27 20:44:27 +00:00
c5997e0a78
The dependencies are contained in the `pyproject.toml` since it was added. Switches to header and source file globbing instead of manually listing the files. The selects for different platforms are removed, as a tradeoff, we take a single- to low double-digit hit in wheel sizes (between 5 percent zipped and 12% installed on MacOS 13.4).
18 lines
391 B
Plaintext
18 lines
391 B
Plaintext
cc_library(
|
|
name = "nanobind",
|
|
srcs = glob([
|
|
"src/*.cpp"
|
|
]),
|
|
copts = ["-fexceptions"],
|
|
includes = ["include", "ext/robin_map/include"],
|
|
textual_hdrs = glob(
|
|
[
|
|
"include/**/*.h",
|
|
"src/*.h",
|
|
"ext/robin_map/include/tsl/*.h",
|
|
],
|
|
),
|
|
deps = ["@python_headers"],
|
|
visibility = ["//visibility:public"],
|
|
)
|