Skip to main content

Candie.kit

A Simple C/C++ Build tool. which uses Zig as a drop-in compiler for compiling .c and .cpp files. No Build system needed, Does not generate Makefiles.

List of contents

Installation

Candie.kit is is available on PyPI so it can be installed with this command.

pip install candie.kit

candie CLI

After installation you can run this command to get help. or verify that its successfully installed.

candie --help

Getting started

Every project must contain a Build Instruction file, Named Candiefile and this file should always be placed in the project root directory.

project/
├── main.c
├── greet.c
└── Candiefile

So create this file for your project. The Candiefile file can contain sections of code.

A Section can be created like this [SECTION_NAME] using square brackets, section name must be UPPERCASE. [SETUP] is a required section.

Example Candiefile 👇️

[SETUP]

PROJ_NAME = 'your_project_name'

project(
    name = PROJ_NAME, 
    language = C, 
)


[BUILD]

executable(
    PROJ_NAME,
    './main.c',
    './greet.c'
).create()

You can either provide the source file paths manually or use the grab_sources() function and provide the directory path of the src files.

Call the create() method to create the executable, You can provide .create(debug = True) to add debugging symbols to the executable.

finally, run this command to execute the build section.

candie build

This will create a executable named 'your_project_name'
Here, Example project simple-exe

Documentation

License

This project is licensed under the Apache 2.0 License.


Made with 🧡 by Yash Tajne

Release files for candie.kit 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for candie.kit 1.5.1
File Size Uploaded
candie_kit-1.5.1.tar.gz 14.2 kB Details

Release files / candie_kit-1.5.1.tar.gz

Download URL candie_kit-1.5.1.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b499d63d765f3b3f057f6bbad6678fa9c3fc4abf8d0842f3512204cdbde6152
BLAKE2b-256 checksum
How to use checksums
2af679e293f06ab36424ebbbc768478edbadd92718475a3b8d1bcbd7c955bd9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.5.1 This release

1 release file

1.5.0

1 release file

1.3.0

1 release file

1.2.9

1 release file

1.2.8

1 release file

1.2.7

1 release file

1.2.0

1 release file

1.1.9

1 release file

1.1.8

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.0

1 release file

1.0.11

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.2

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page