<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github---randerson112-craft-a-lightweight-build-and-workflow-tool-for-c-c--8gfwzyhgc" -->

---
title: GitHub - randerson112/craft: A lightweight build and...
description: Craft is a lightweight build and dependency management tool for C and C++ projects, inspired by Cargo. It uses a simple `craft.toml` configuration file to...
canonical: https://daily.dev/posts/github---randerson112-craft-a-lightweight-build-and-workflow-tool-for-c-c--8gfwzyhgc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub - randerson112/craft: A lightweight build and workflow tool for C/C++ | daily.dev
og:description: Craft is a lightweight build and dependency management tool for C and C++ projects, inspired by Cargo. It uses a simple `craft.toml` configuration file to...
og:url: https://daily.dev/posts/github---randerson112-craft-a-lightweight-build-and-workflow-tool-for-c-c--8gfwzyhgc
og:image: https://api.daily.dev/og/posts/8GFWZyHgC.png
og:image:alt: GitHub - randerson112/craft: A lightweight build and workflow tool for C/C++
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub - randerson112/craft: A lightweight build and workflow tool for C/C++

**[Hacker News](https://daily.dev/sources/hn)** · 8 min read · 0 upvotes · 0 comments

## Summary

Craft is a lightweight build and dependency management tool for C and C++ projects, inspired by Cargo. It uses a simple `craft.toml` configuration file to automatically generate CMakeLists.txt, manage git and local dependencies, and provide a modern CLI for common tasks like building, running, adding/removing dependencies, and managing project templates. It wraps CMake under the hood while hiding its complexity, supporting project initialization, boilerplate generation, global config defaults, and self-upgrade functionality.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/randerson112/craft>

## Similar posts on daily.dev

- [Tech Notes: The smallest build system](https://daily.dev/posts/tech-notes-the-smallest-build-system-ru2fjysp4) · Lobsters · 0 upvotes · 0 comments
- [C\+\+ Dependencies Without the Headache: vcpkg \+ Copilot CLI](https://daily.dev/posts/c-dependencies-without-the-headache-vcpkg-copilot-cli-zjwbeuhq0) · DevBlogs · 0 upvotes · 0 comments

---

Tags: [#c](https://daily.dev/tags/c)

[View this post on daily.dev](https://daily.dev/posts/github---randerson112-craft-a-lightweight-build-and-workflow-tool-for-c-c--8gfwzyhgc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"GitHub - randerson112/craft: A lightweight build and workflow tool for C/C++","url":"https://daily.dev/posts/github---randerson112-craft-a-lightweight-build-and-workflow-tool-for-c-c--8gfwzyhgc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github---randerson112-craft-a-lightweight-build-and-workflow-tool-for-c-c--8gfwzyhgc"},"datePublished":"2026-04-09T20:15:57.330Z","dateModified":"2026-04-09T20:16:16.756Z","description":"Craft is a lightweight build and dependency management tool for C and C++ projects, inspired by Cargo. It uses a simple `craft.toml` configuration file to...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6e202726207c69f5583907fe4c27708b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6e202726207c69f5583907fe4c27708b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/github---randerson112-craft-a-lightweight-build-and-workflow-tool-for-c-c--8gfwzyhgc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"c","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"GitHub - randerson112/craft: A lightweight build and workflow tool for C/C++"}]}
```

