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
File details
Details for the file dogebuild-c-0.1.1.tar.gz
.
File metadata
- Download URL: dogebuild-c-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 407ac9c224405e33700f13005e730fd65f8ef70742d18083af1f9e4a3baa30ab |
|
MD5 | 10764c10b517cd6e9c6ae56144704560 |
|
BLAKE2b-256 | f54a0c074c1d289f5b01f2efa07fcd5666a6999304496b39e05bbda5c227bd7f |