C language dogebuild plugin
Project description
dogebuild-c
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
Create 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'),
)
Create directory src
and put all your source code files into that.
Building project
To build project run dogebuild in project directory:
doge build
To build and run project run:
doge run
Next steps
Advanced documentation for dogebuild available in readthedocs.
Advanced documentation for dogebuild c plugin available in readthedocs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dogebuild-c-0.1.1.tar.gz
(4.8 kB
view hashes)