UNPKG

cmake-ts

Version:

cmake-js rewrite in typescript to support advanced build configurations

8 lines (7 loc) 289 B
/** * Find the addon for the current runtime. * * @param buildDir - The directory containing the build artifacts. It should contain a `manifest.json` file. * @returns The addon for the current runtime. */ export declare function loadAddon<Addon>(buildDir: string): Addon | undefined;