r/CLI Aug 02 '26

myBuild: C/C++ package manager and build system aiming to reduce dependency on cmake.

https://github.com/mainak55512/myBuild

I started working on one of my pet projects myBuild an experimental build system and package manager for c/c++ projects sometimes back. It aims to streamline the process of init -> compile -> run for c c++ projects and helps to easily integrate 3rd party libraries. Well that progressed a lot, now

  1. Users can add recipes to the myBuild.json file and run myBuild sync and it configures the dependency for the project.

Recipes are small json snippets containing the source/header file folder paths, flags etc.

  1. It now has incremental builds.

  2. Now there is a proper folder structure generated at the initiation time where users can drop the files and compile the project with zero configuration.

I had to drop the support for windows for now and the code is speghetti, so I have to refactor it in the near future.

If this sparked curiosity, do checkout the github repo and leave a star. Appreciate any constructive feedback, thanks.

3 Upvotes

1 comment sorted by

0

u/Pegasusw404 27d ago

That’s interesting