Overview of CMake.js
masterCMake.js is a build tool for Node.js native addons that uses the CMake build system instead of gyp. It is designed to work similarly to node-gyp but provides better integration with CMake-based projects.
Supported Runtimes
- Node.js: Version 14.15+ (for older runtimes, use an earlier version of CMake.js).
- NW.js: Compatible out-of-the-box without extra magic.
- Electron: Out-of-the-box build support with no post-build steps required.
Note: If your module uses node-api instead of nan, it can typically run on all the above runtimes without needing separate builds for each.