Metadata-Version: 2.4
Name: wefti
Version: 0.3.1
Summary: Faster drop-in CMake 4.5.1 replacement in safe Rust, with a formatter, a linter, and a language server
License-Expression: (MIT OR Apache-2.0) AND BSD-3-Clause
License-File: LICENSE-APACHE
License-File: LICENSE-MIT
License-File: THIRD_PARTY_NOTICES.md
License-File: third_party/licences/CMake-BSD-3-Clause.txt
License-File: third_party/licences/CMake-CONTRIBUTORS.rst
License-File: third_party/licences/calcifer-macos-acl-MIT.txt
License-File: third_party/licences/encoding_rs-WHATWG-BSD-3-Clause.txt
License-File: third_party/licences/libbz2-rs-sys-bzip2-1.0.6.txt
License-File: third_party/licences/xz-liblzma-0BSD.txt
License-File: third_party/licences/zstd-BSD-3-Clause.txt
License-File: third_party/licences/zstd-rs-BSD-3-Clause.txt
Project-URL: Homepage, https://wefti.github.io/wefti/
Project-URL: Repository, https://github.com/wefti/wefti
Project-URL: Documentation, https://github.com/wefti/wefti/blob/main/docs/README.md
Project-URL: Changelog, https://github.com/wefti/wefti/releases
Project-URL: Issues, https://github.com/wefti/wefti/issues
Keywords: cmake,cmake-alternative,cmake-replacement,build-system,cpp,c,rust,ninja,ctest,cpack,lsp,scikit-build,scikit-build-core,faster-cmake
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: C
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Wefti

[Wefti](https://github.com/wefti/wefti) is a drop-in replacement for CMake 4.5.1
written in safe Rust. It reads your existing `CMakeLists.txt` files and writes
compatible build trees.

```sh
pip install wefti
wefti -S . -B build
wefti --build build
```

You can also run `uv tool install wefti`.

The package installs the `wefti` and `wefti-lsp` commands. It leaves your current
`cmake` command as it is. To run Wefti as `cmake`, `ctest`, `cpack`, and
`ccmake`, install `wefti-cmake`.

The `wefti` command adds a shared compiler probe cache, replay of unchanged
directories, `wefti fmt`, `wefti lint --fix`, `wefti explain`, and the
`wefti-lsp` language server. A build that calls `cmake`, such as a
scikit-build-core, pybind11, nanobind, or Cython extension build, runs Wefti
once `wefti-cmake` is installed in its environment. In that compatibility mode,
set `WEFTI_PROBE_CACHE=on` to turn on the probe cache.

Python code can find the binaries in `wefti.WEFTI_BIN_DIR` and the bundled CMake
data in `wefti.WEFTI_DATA_DIR`.

The Wefti code uses the `MIT OR Apache-2.0` licence. The bundled CMake modules
use the `BSD-3-Clause` licence, and the wheel includes each licence text. Wefti
is not affiliated with Kitware. CMake is a trademark of Kitware, Inc.
