Repository navigation
v1.0.0 - Initial Release
Craft 1.0.0 is the first public release of Craft, a lightweight build tool for C and C++ projects.
What's Included
Project Management
craft projectandcraft initfor creating new projects and adopting existing ones- Automatic project structure detection — language, source dirs, include dirs, and libraries
- Built-in templates for executable, static-library, shared-library, and header-only projects
- Custom template support via
craft template
Build System
- Automatic CMake generation from
craft.toml— no CMake knowledge required CRAFT_PROJECT_VERSIONmacro automatically embedded in every project binaryCMakeLists.extra.cmakeescape hatch for custom CMake configuration
Dependency Management
craft add,craft remove, andcraft updatefor full dependency lifecycle management- Local path dependencies, git dependencies, and registry kits
- Official package registry at github.com/randerson112/craft-registry
- Dependencies cached in
.craft/deps/and preserved acrosscraft clean
Platform Support
- macOS, Linux, and Windows
- Install scripts for all platforms
Developer Experience
craft upgradefor keeping Craft up to date- Helpful error messages with suggestions for typos and unknown commands
craft genfor generating boilerplate source and header files- Global configuration via
craft config
Known Limitations
- Workspaces are not yet supported — multi-project setups require building each project independently
- MSVC may still be unstable — Windows users should use MinGW/MSYS2
- The package registry is new and has a small number of kits — use
craft add --gitfor packages not yet in the registry - System dependencies are not supported — use
CMakeLists.extra.cmakefor platform libraries like OpenGL
What's Next
- Workspace support for multi-project builds
- Expanded package registry with community contributions
- Build profiles —
--releaseand--debug craft searchfor browsing the registry