nodejs: add infra to detect nodejs version
authorBrendan Le Foll <brendan.le.foll@intel.com>
Wed, 18 Mar 2015 12:20:54 +0000 (12:20 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Thu, 19 Mar 2015 18:26:05 +0000 (18:26 +0000)
commit128f0a22dab39d9ee4c380529ae2dc4466eaba78
treef4ed12324bcd9b97df3810d16e17ef2e510de07e
parent824618ccf1d93f71f42861dabbd58bdf0bcee308
nodejs: add infra to detect nodejs version

This introduces FindNodes.cmake which finds the v8 version and the nodejs
interp version and passes the information to SWIG via SWIG_V8_VERSION

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
cmake/modules/FindNodejs.cmake [new file with mode: 0644]
src/javascript/CMakeLists.txt
src/javascript/mraajs.i