Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/build / hermesCMakeCommands

Function: hermesCMakeCommands() ​

hermesCMakeCommands(options, environment): string[][]

Defined in: hermes/build.ts:670

Return the CMake argument lists that configure and build the host compiler and the WASI archives, in run order.

Parameters ​

options ​

HermesBuildOptions

Source, build directories, toolchain, platform, and garbage collector for the build.

environment ​

ProcessEnv

Environment flags that select optional Hermes features.

Returns ​

string[][]

Argument lists for cmake: host configure, host build, WASI configure, WASI build.

Remarks ​

The build fingerprint hashes these lists, so every build setting that reaches CMake invalidates the cache.

pumpkin-plugins documentation