blob: 4375f3d7f85193b88831d056110eb8297ecaa51f (
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.modules import Linkable, Switch
from devtools.yamaker.project import CMakeNinjaNixProject
def post_install(self):
m = self.yamakes["."]
m.after(
"CFLAGS",
Switch(
CLANG_CL=Linkable(
CFLAGS=["-DAWS_HTTP_EXPORTS", "-std=c99"],
),
OS_WINDOWS=Linkable(
CFLAGS=["-DAWS_HTTP_EXPORTS"],
),
),
)
aws_c_cal = CMakeNinjaNixProject(
arcdir="contrib/restricted/aws/aws-c-http",
nixattr="aws-c-http",
post_install=post_install,
)
|