extbuilder
A macro tool that allows you to build C dependencies automatically
Installation
Add this to your application's shard.yml
:
dependencies:
extbuilder:
github: unn4m3d/extbuilder
Usage
require "extbuilder"
ExtBuilder.ext "../../ext/staticlib", static: true, output: "./staticlib"
lib StaticLib
end
Cmake is supported, as well as plain makefiles. There is also a thing called "Extfile" : a crystal program compiled with this file as prelude.
See example in spec directory.
Contributing
- Fork it ( https://github.com/unn4m3d/extbuilder/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- unn4m3d- creator, maintainer