blob: 31f9ca1459c0cfdeefcb3bef55f4ecd69950934e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
from devtools.yamaker.modules import Linkable, Switch
from devtools.yamaker.project import CMakeNinjaNixProject
def post_install(self):
with self.yamakes["."] as m:
m.after(
"CFLAGS",
Switch(
OS_WINDOWS=Linkable(
CFLAGS=["-DAWS_MQTT_EXPORTS"],
),
),
)
aws_c_mqtt = CMakeNinjaNixProject(
arcdir="contrib/restricted/aws/aws-c-mqtt",
nixattr="aws-c-mqtt",
post_install=post_install,
)
|