blob: b04ae95e3b21b8415dd5e7c5a10e3af0015ee2ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
from devtools.yamaker.modules import Linkable, Switch
from devtools.yamaker.project import CMakeNinjaNixProject
def post_install(self):
# Otherwise debug build fails with gcc, as expected by the authors.
self.yamakes["."].after("CFLAGS", Switch({'BUILD_TYPE == "DEBUG"': Linkable(CFLAGS=["-DDEBUG_BUILD"])}))
aws_checksums = CMakeNinjaNixProject(
arcdir="contrib/restricted/aws/aws-checksums",
nixattr="aws-checksums",
owners=["g:cpp-contrib"],
flags=["-DBUILD_JNI_BINDINGS=OFF"],
disable_includes=["aws/checksums/crc_jni.h"],
post_install=post_install,
)
|