55 lines
1.1 KiB
Python
55 lines
1.1 KiB
Python
{
|
|
'includes': [
|
|
'../gyp/common.gypi',
|
|
],
|
|
'targets': [
|
|
{
|
|
'target_name': 'linuxapp',
|
|
'product_name': 'mapbox-gl',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'./main.cpp',
|
|
'../platform/default/settings_json.cpp',
|
|
'../platform/default/glfw_view.cpp',
|
|
'../platform/default/log_stderr.cpp',
|
|
],
|
|
|
|
'conditions': [
|
|
['OS == "mac"',
|
|
|
|
# Mac OS X
|
|
{
|
|
'xcode_settings': {
|
|
'OTHER_CPLUSPLUSFLAGS':[
|
|
'<@(glfw3_cflags)',
|
|
],
|
|
'OTHER_LDFLAGS': [
|
|
'<@(glfw3_libraries)',
|
|
],
|
|
}
|
|
},
|
|
|
|
# Non-Mac OS X
|
|
{
|
|
'cflags': [
|
|
'<@(glfw3_cflags)',
|
|
],
|
|
'link_settings': {
|
|
'libraries': [
|
|
'<@(glfw3_libraries)',
|
|
'-L<(boost_root)/lib',
|
|
'-lboost_regex',
|
|
],
|
|
},
|
|
}],
|
|
],
|
|
'dependencies': [
|
|
'../mapboxgl.gyp:mbgl',
|
|
'../mapboxgl.gyp:mbgl-linux',
|
|
'../mapboxgl.gyp:copy_styles',
|
|
'../mapboxgl.gyp:copy_certificate_bundle',
|
|
],
|
|
},
|
|
],
|
|
}
|