[build] use node-cmake 2.x

- Removes need to run `npm install` before invoking cmake
This commit is contained in:
Konstantin Käfer
2017-02-21 18:32:53 +01:00
parent 341e65f7d5
commit 5b24b14741
5 changed files with 612 additions and 19 deletions

View File

@@ -47,12 +47,7 @@ endif
.PHONY: default
default: test
.NOTPARALLEL: node_modules
node_modules: package.json
npm install --ignore-scripts # Install dependencies but don't run our own install script.
BUILD_DEPS += Makefile
BUILD_DEPS += node_modules
BUILD_DEPS += CMakeLists.txt
#### macOS targets ##############################################################