This reverts commitb2fbd45d23. D114922 fixed the reason of the 2nd revert. This patch also re-applies39e9f5d368. Differential Revision: https://reviews.llvm.org/D112012
21 lines
474 B
Plaintext
21 lines
474 B
Plaintext
cc_library(
|
|
name = "pybind11",
|
|
hdrs = glob(
|
|
include = [
|
|
"include/pybind11/*.h",
|
|
"include/pybind11/detail/*.h",
|
|
],
|
|
exclude = [
|
|
"include/pybind11/common.h",
|
|
"include/pybind11/eigen.h",
|
|
],
|
|
),
|
|
copts = [
|
|
"-fexceptions",
|
|
"-Wno-undefined-inline",
|
|
"-Wno-pragma-once-outside-header",
|
|
],
|
|
includes = ["include"],
|
|
visibility = ["//visibility:public"],
|
|
)
|