Build System

Build System

C++

The NYRA framework uses a nyra_gn build system (based on Google’s GN) to compile C++ apps and extensions.

Golang

The NYRA framework builds its Go-based projects using the standard go toolchain.


Building

C++ App

To build a NYRA framework C++ application, run the following commands in the app’s root directory:

  • <os> can be one of:

    • linux

    • mac

    • win

  • <arch> can be one of:

    • x86

    • x64

    • arm

    • arm64

  • <build_type> can be either:

    • debug

    • release

nyra_gn gen <os> <arch> <build_type>
nyra_gn build <os> <arch> <build_type>

C++ Add-on

The term add-on here includes:

  • extension

  • extension group

  • protocol

Building a NYRA framework C++ add-on uses the same commands as building a C++ app (i.e., nyra_gn gen followed by nyra_gn build).

Golang App

To build a NYRA Go project, execute the following command in the project’s root directory:

go run nyra_packages/system/nyra_runtime_go/tools/build/main.go

Last updated