Skip to main content

No project description provided

Project description

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
    }
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

native_builder-0.2-py3-none-any.whl (5.7 MB view hashes)

Uploaded Python 3

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