oxUnd / gyp

Third party gyp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gyp

use

  1. download third party, sh third-party.sh

  2. config your binding.gyp

    if dependent on zlib, you can add the following code to binding.gyp

    "dependencies": [
        "./gyp/zlib.gyp:zlib"
    ]

    Sample:

    {
        "targets": [{
            "target_name": "addon",
            
            ...
    
            "dependencies": [
                "./gyp/zlib.gyp:zlib"
            ]
    
            ...
            
        }]
    }

F&Q

  • for windows

    • require cygwin, need wget
    • giflib, 'not found unistd.h', you can delete #include <unistd.h>
    • libjpeg-turbo, must require CMAKE, can download from http://www.cmake.org/download/
  • for Linux / Mac

    • require wgetcmake

About

Third party gyp

License:MIT License


Languages

Language:Python 85.5%Language:Shell 14.5%