{ 'targets': [{ 'target_name': 'libvips-cpp', 'conditions': [ ['OS == "win"', { # Build libvips C++ binding for Windows due to MSVC std library ABI changes 'type': 'shared_library', 'variables': { 'download_vips': '/dev/null 2>&1 && eval $(brew --env) && echo $PKG_CONFIG_LIBDIR || true):$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig' }, { 'pkg_config_path': '' }] ], }, 'conditions': [ ['OS != "win"', { # Which version, if any, of libvips is available globally via pkg-config? 'global_vips_version': '/dev/null || true)' }, { 'global_vips_version': '' }] ], 'pkg_config_path%': '<(pkg_config_path)' }, 'pkg_config_path%': '<(pkg_config_path)', 'runtime_link%': 'shared', 'conditions': [ ['OS != "win"', { # Does the globally available version of libvips, if any, meet the minimum version requirement? 'use_global_vips': '