__init__.py 618 B

12345678910111213141516171819202122232425
  1. from devtools.yamaker.arcpath import ArcPath
  2. from devtools.yamaker.modules import Library
  3. from devtools.yamaker.project import NixSourceProject
  4. def post_install(self):
  5. self.yamakes["."] = self.module(
  6. Library,
  7. ADDINCL=[ArcPath(f"{self.arcdir}/include", GLOBAL=True)],
  8. NO_UTIL=True,
  9. )
  10. nlohman_json = NixSourceProject(
  11. nixattr="nlohmann_json",
  12. owners=["g:logbroker", "g:cpp-contrib"],
  13. arcdir="contrib/restricted/nlohmann_json",
  14. copy_sources=[
  15. "include/",
  16. ],
  17. disable_includes=[
  18. "experimental/filesystem",
  19. ],
  20. post_install=post_install,
  21. )