Skip to content
/ cbuild Public
forked from MobiusHorizons/cbuild

A fork of cbuild a builder / preprocessor for modular C syntax. Long term plan to port it to Golang.

License

Notifications You must be signed in to change notification settings

bozso/cbuild

 
 

Repository files navigation

Fork of cbuild

I really liked the original idea of generating C source files and headers and build scriptfiles from a single C module, thus making the process of compilation almost trivial. I would like to give the project my own spin.

Long term goals to achaive:

  1. Port the source from C to Go, to improve portability, perhaps even readability and maintainability. Go is much easier to cross compile as well.
  2. Add more build script backends. Ninja for example.
  3. Implement a package manager. This would be really neat, but I am not sure if I will have the time to pull it off. Could be based on clib

Status

Managed to transpile from C to Go using c4go. The output is pretty messy, but I figured it makes more sense to do the heavy lifting automatically with a transpiler then cleanup and refactor the code.

About

A fork of cbuild a builder / preprocessor for modular C syntax. Long term plan to port it to Golang.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 74.7%
  • C 19.0%
  • Makefile 6.3%