Repository navigation
Expand file tree
/
Copy pathcompat.pybind11.lua
More file actions
50 lines (48 loc) · 1.85 KB
/
Copy pathcompat.pybind11.lua
File metadata and controls
50 lines (48 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
-- Form B inline descriptor for pybind11, a header-only library for creating
-- Python bindings from C++.
--
-- Python headers and libraries come from a matching consumer Python SDK.
-- The example declares xim:python and uses its payload rather than host Python.
package = {
spec = "1",
namespace = "compat",
name = "pybind11",
description = "Seamless operability between C++11 and Python",
licenses = {"BSD-3-Clause"},
repo = "https://github.com/pybind/pybind11",
type = "package",
xpm = {
linux = {
["3.2.0-dev.6254086"] = {
url = "https://github.com/pybind/pybind11/archive/6254086d96062249c5153c17eab6b4437dd1589f.tar.gz",
sha256 = "4a77778750ae4bd27d29dd328902b03a7efb9c3468c6f23180fa39d80c05f635",
},
},
macosx = {
["3.2.0-dev.6254086"] = {
url = "https://github.com/pybind/pybind11/archive/6254086d96062249c5153c17eab6b4437dd1589f.tar.gz",
sha256 = "4a77778750ae4bd27d29dd328902b03a7efb9c3468c6f23180fa39d80c05f635",
},
},
windows = {
["3.2.0-dev.6254086"] = {
url = "https://github.com/pybind/pybind11/archive/6254086d96062249c5153c17eab6b4437dd1589f.tar.gz",
sha256 = "4a77778750ae4bd27d29dd328902b03a7efb9c3468c6f23180fa39d80c05f635",
},
},
},
mcpp = {
language = "c++23",
import_std = false,
c_standard = "c11",
include_dirs = { "*/include" },
generated_files = {
["mcpp_generated/pybind11_anchor.c"] = [==[
int mcpp_pybind11_headers_anchor(void) { return 0; }
]==],
},
sources = { "mcpp_generated/pybind11_anchor.c" },
targets = { ["pybind11"] = { kind = "lib" } },
deps = {},
},
}