diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-06-03 18:05:04 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-08-05 11:42:22 +0200 |
commit | 692fe1f3ffc8f4364b39c14aa7d90cec2ff5c0a6 (patch) | |
tree | 1d08af7d56e986dba2b548ff9b9a7e1a77c713ed /binding.gyp | |
parent | e3ee55b28d0b230d054c9718f79a1f6d685cd62b (diff) | |
download | qtlocation-mapboxgl-692fe1f3ffc8f4364b39c14aa7d90cec2ff5c0a6.tar.gz |
[build] switch to CMake
This is very much a work in progress.
Diffstat (limited to 'binding.gyp')
-rw-r--r-- | binding.gyp | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/binding.gyp b/binding.gyp deleted file mode 100644 index acd8129260..0000000000 --- a/binding.gyp +++ /dev/null @@ -1,107 +0,0 @@ -{ - 'variables': { - 'loop_lib': 'uv', - 'headless_lib': 'glx', - }, - 'conditions': [ - ['OS == "mac"', { - 'variables': { - 'headless_lib': 'cgl', - } - }], - ], - 'includes': [ - 'mbgl.gypi', - ], - 'targets': [ - { - 'target_name': '<(module_name)', - 'dependencies': [ - 'core', - ], - - 'include_dirs': [ - '<(node_root_dir)/include/node', - "<!(node -e \"require('nan')\")", - 'include', - 'src', # TODO: eliminate - ], - - 'sources': [ - 'platform/node/src/node_mapbox_gl_native.cpp', - 'platform/node/src/node_log.hpp', - 'platform/node/src/node_log.cpp', - 'platform/node/src/node_map.hpp', - 'platform/node/src/node_map.cpp', - 'platform/node/src/node_request.hpp', - 'platform/node/src/node_request.cpp', - 'platform/node/src/node_feature.hpp', - 'platform/node/src/node_feature.cpp', - 'platform/node/src/util/async_queue.hpp', - ], - - 'conditions': [ - ['OS == "mac"', { - 'sources': [ - 'platform/darwin/src/log_nslog.mm', - 'platform/darwin/src/string_nsstring.mm', - 'platform/darwin/src/image.mm', - 'platform/darwin/src/nsthread.mm', - ] - }, { - 'sources': [ - 'platform/default/log_stderr.cpp', - 'platform/default/string_stdlib.cpp', - 'platform/default/thread.cpp', - 'platform/default/image.cpp', - 'platform/default/webp_reader.cpp', - 'platform/default/png_reader.cpp', - 'platform/default/jpeg_reader.cpp', - ], - - 'cflags_cc': [ - '<@(boost_cflags)', - '<@(nunicode_cflags)', - '<@(webp_cflags)', - '<@(libpng_cflags)', - '<@(libjpeg-turbo_cflags)', - ], - - 'link_settings': { - 'libraries': [ - '<@(nunicode_static_libs)', - '<@(nunicode_ldflags)', - '<@(webp_static_libs)', - '<@(webp_ldflags)', - '<@(libpng_static_libs)', - '<@(libpng_ldflags)', - '<@(libjpeg-turbo_static_libs)', - '<@(libjpeg-turbo_ldflags)', - ], - }, - }] - ], - - 'ldflags': [ - '-Wl,-z,now', - ], - - 'xcode_settings': { - 'OTHER_LDFLAGS':[ - '-Wl,-bind_at_load' - ], - }, - }, - { - 'target_name': 'action_after_build', - 'type': 'none', - 'dependencies': [ '<(module_name)' ], - 'copies': [ - { - 'files': [ '<(PRODUCT_DIR)/<(module_name).node' ], - 'destination': '<(module_path)' - } - ] - } - ] -} |