Skip to content

HarryLovesCode/libnode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libnode

Build Status

This repo contains the scripts that build Node.js as a static library for embedding in DeskGap.

Usage

Configuring

Specify the Node version:

export LIBNODE_NODE_VERSION=v14.5.0

Remove Intl support to reduce the size (optional):

export LIBNODE_CONFIG_FLAGS=--without-intl
export LIBNODE_ZIP_SUFFIX=-nointl

Build the x86 version (optional, Windows only):

export LIBNODE_X86=1

Downloading the source code of Node.js:

python3 -m scripts.download

Building Node.js:

python3 -m scripts.build

Testing the library:

python3 -m scripts.test

Archiving:

python3 -m scripts.postproc
python3 -m scripts.archive

About

Build Node.js as a static library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 77.7%
  • CMake 20.6%
  • C++ 1.7%