Skip to content

python-project-templates/hatch-cpp

Repository files navigation

hatch-cpp

Hatch plugin for C++ builds

Build Status codecov License PyPI

Overview

A simple, extensible C++ build plugin for hatch.

[tool.hatch.build.hooks.hatch-cpp]
libraries = [
    {name = "project/extension", sources = ["cpp/project/basic.cpp"], include-dirs = ["cpp"]}
]

For more complete systems, see:

Environment Variables

Name Default Description
CC
CXX
LD
HATCH_CPP_PLATFORM
HATCH_CPP_DISABLE_CCACHE

Note

This library was generated using copier from the Base Python Project Template repository.