Skip to main content

C language dogebuild plugin

Project description

dogebuild-c

Build Status PyPI version Documentation Status

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


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.0.post2.tar.gz (4.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page