Skip to main content

NativeBuilder

NativeBuilder is an easy-to-use and cross-platform tool for building native applications leveraging the power of VCPkg and CMake.

Currently, NativeBuilder is internal only and not ready for production use. It is made public for reproducing native binaries referenced in our Julia+C/C++ projects and creating templates for technical tests.

Usage

nb init          # init project
nb install yoga  # install dependencies
nb remove raylib # remove dependencies
nb build --main  # create the executable under build/
nb build         # create the library under build/

Note that NativeBuilder is still in development, and is not responsible for dependency management.

Troubleshooting

  1. When changing always_mingw, later build might get failed. This is due to your IDE (such as VSCode with C/CPP extensions) is using vcpkg/buildtrees which prevents NativeBuilder from rebuilding the dependencies. To fix this, you might close your IDE, call nb build again and reopen your C/C++ IDE.

  2. To support C/C++ intellisense in VSCode, install CMake Tools, and create a c_cpp_properties.json in the .vscode directory:

    {
        "configurations": [
            {
                "compileCommands": "${workspaceFolder}/build/compile_commands.json",
                "configurationProvider": "ms-vscode.cmake-tools"
            }
        ],
        "version": 4
    }
    

Metadata

Release files for native-builder 0.2.1

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

Built distribution (wheel)

Table of built distributions (wheels) for native-builder 0.2.1
File Interpreter ABI Platform Actions
native_builder-0.2.1-py3-none-any.whl Python 3 none any Details for native_builder-0.2.1-py3-none-any.whl

Release files / native_builder-0.2.1-py3-none-any.whl

Download URL native_builder-0.2.1-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f630b0e383bf1ae58ab6fea058366e7a2fea80a43a913c49f43da8668bcbd51c
BLAKE2b-256 checksum
How to use checksums
74e66557b6bd97c96c4d220b3604c931065b9c7b07e4d7482ad6bf62af850000
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Security for native-builder 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file No provenance

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