__init__.py 592 B

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