blob: 6302560fa156764c75ab633e557a5a5c84977016 (
plain) (
blame)
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
|
from devtools.yamaker.arcpath import ArcPath
from devtools.yamaker.modules import Library
from devtools.yamaker.project import NixSourceProject
def post_install(self):
self.yamakes["."] = self.module(
Library,
ADDINCL=[ArcPath(f"{self.arcdir}/include", GLOBAL=True)],
NO_UTIL=True,
)
nlohman_json = NixSourceProject(
nixattr="nlohmann_json",
owners=["g:logbroker", "g:cpp-contrib"],
arcdir="contrib/restricted/nlohmann_json",
copy_sources=[
"include/",
],
disable_includes=[
"experimental/filesystem",
],
post_install=post_install,
)
|