Skip to main content

A build system scripting service

Project description

mkbuild

A build system scripting service.

For example:

import mkbuild as mk

mk.Pipeline(
    CONTEXT=mk.Context(),
    TRANSFORMERS=[
        mk.compilers.GNUCCompiler(
            FLAGS=mk.Flags("-std=c23 -Wall -Iinclude"),
            DEBUG_FLAGS=mk.Flags("-g -DDEBUG"),
            RELEASE_FLAGS=mk.Flags("-O2"),
        ),
        mk.linkers.GNUCLinker(
            FLAGS=mk.OSFlags(
                FLAGS="-Llib -lSDL3_net -lSDL3 -lchelp -Wl,-rpath,$ORIGIN/../lib",
                WINDOWS="-lopengl32 -lgdi32",
                LINUX="-lGL",
            ),
            DEBUG_FLAGS=mk.Flags("-g -DDEBUG"),
            RELEASE_FLAGS=mk.Flags("-O2"),
            TARGET="Pineapple2",
            TARGET_EXTENSION=".elf"
        )
    ]
).run()

Then run the build file (must be named "mk.py"):

python mk.py debug # Or release

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

mkbuild-0.1.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkbuild-0.1.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file mkbuild-0.1.1.tar.gz.

File metadata

  • Download URL: mkbuild-0.1.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for mkbuild-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e08bea1e39e5bd1b458230fc3d1d18e776c2d71a72869f0bdf4ebc2b5b5a621c
MD5 944ff5e667baf66708f6ecacf97a03a5
BLAKE2b-256 d51c786fb366b1c48232b686d1433efe4a0ae32026cb0cbcbdfb0dc657d3e1ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkbuild-0.1.1.tar.gz:

Publisher: publish.yml on thbop/mkbuild

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mkbuild-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mkbuild-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for mkbuild-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4293db4de017ded46f215a655386ea88789f3d463360cc7df95be1895ca7facb
MD5 435c3d1c891ac7360160cac3f40cbf4d
BLAKE2b-256 2cb5e4b512cf78f6406dc02c1e5faa128ecd3727cca4e66633b92f33db772e16

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkbuild-0.1.1-py3-none-any.whl:

Publisher: publish.yml on thbop/mkbuild

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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