Skip to content

Prefer npm cmake/ninja instances instead of system instances #8

Description

@devappd

Currently, this package is hardcoded to prefer system installs of cmake/ninja instead of those installed into node_modules.

Consider defaulting to the node_modules installation, and allow configurable path to a system installation. E.g., cmake-path="/path/to/cmake" or cmake-system-path="true" to search PATH first before looking at cmake-path then node_modules in that order.

Re: downloading:

  1. On NPM install time, don't download anything nor print anything on NPM
  2. On NPM build script, if CMake/Ninja doesn't exist on PATH or NPMRC, then download it to module.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions