Skip to content

oxUnd/gyp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published