C language dogebuild plugin
C language plugin for dogebuild
Install dogebuild c plugin
Install dogebuild c plugin via pip:
pip install dogebuild-c
Dogebuild will be installed as a dependency.
Creating project with tapas
The easiest way to create project is to use tapas scaffold tool. To install tapas use pip:
pip install tapas
And then run tapas and follow instructions:
tapas dogebuild-c <target-dir>
Manually creating project
dogefile.py and fill it with following code:
from pathlib import Path from dogebuild_c.c_plugin import CPlugin, BinaryType CPlugin( binary_type=BinaryType.EXECUTABLE, out_name="executable_name", src=Path("src").glob('**/*.c'), headers=Path("src").glob('**/*.h'), )
src and put all your source code files into that.
To build project run dogebuild in project directory:
To build and run project run:
Advanced documentation for dogebuild available in readthedocs.
Advanced documentation for dogebuild c plugin available in readthedocs.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.