Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 721 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 721 Bytes

install-cmake

Download and compile CMake for subsequent use by npm --global install. This package installs CMake 3.5.2. Note that because cmake takes such a long time to download and compile, it is recommended that you install this package in global mode.

Based on Stanley Gu's cmake for npm.

Installing on Windows

When Windows is detected (via process.platform === 'win32'), CMake will be installed via MSI.

This package:

  • will add cmake to the system PATH
  • requires a single interactive input: allowing escalation to administrator
  • can be debugged by setting captureLogs to true, enabling verbose logs
  • is safe to run if already installed