Files
MapLibreParticleLab/bin/glfw.gypi
John Firebaugh f964e40e7e [build] Refactor and simplify build system
* Main gyp files are now standardized as platform/<platform>/platform.gyp.
* Each platform gyp file defines appropriate loop_lib and headless_lib variables.
* Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms.
* CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`.
* Renamed the "linux" test app to "glfw". It's now built in OS X CI.
* Android build flakiness is fixed.
* iOS CI builds the bench and iosapp targets.
* Mesa version is now in one place.
* CI scripts use bash "strict mode" and correct error handling.
* All build output goes to the build directory.
* Removed vestigial iOS/OS X/Android Travis scripts.
2016-04-07 18:01:02 -07:00

63 lines
1.3 KiB
Python

{
'targets': [
{
'target_name': 'glfw-app',
'product_name': 'mapbox-glfw',
'type': 'executable',
'dependencies': [
'platform-lib',
'copy_certificate_bundle',
],
'include_dirs': [
'../platform/default',
'../include',
'../src',
],
'sources': [
'glfw.cpp',
'../platform/default/settings_json.cpp',
'../platform/default/glfw_view.hpp',
'../platform/default/glfw_view.cpp',
'../platform/default/log_stderr.cpp',
],
'variables': {
'cflags_cc': [
'<@(glfw_cflags)',
'<@(variant_cflags)',
'<@(boost_cflags)',
],
'ldflags': [
'<@(glfw_ldflags)',
],
'libraries': [
'<@(glfw_static_libs)',
],
},
'conditions': [
['OS == "mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
},
}, {
'cflags_cc': [ '<@(cflags_cc)' ],
}],
],
'link_settings': {
'conditions': [
['OS == "mac"', {
'libraries': [ '<@(libraries)' ],
'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)' ] }
}, {
'libraries': [ '<@(libraries)', '<@(ldflags)' ],
}]
],
},
},
],
}