Files
MapLibreParticleLab/platform/qt/app/qmapboxgl.gypi
Thiago Marcos P. Santos 1abad528af [Qt] Do not ignore compilation errors
But will no longer build with GCC 5.
2016-04-25 15:32:39 +03:00

52 lines
931 B
Python

{
'targets': [
{
'target_name': 'qt-app',
'product_name': 'qmapboxgl',
'type': 'executable',
'includes': [
'../qt.gypi',
],
'dependencies': [
'qt-lib',
],
'sources': [
'main.cpp',
'mapwindow.cpp',
'mapwindow.hpp',
],
'include_dirs': [
'../include',
],
'variables': {
'cflags': [
'<@(opengl_cflags)',
'<@(qt_cflags)',
'-fPIC',
],
'ldflags': [
'<@(opengl_ldflags)',
'<@(qt_ldflags)'
],
},
'conditions': [
['OS == "mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags)' ],
'OTHER_LDFLAGS': [ '<@(ldflags)' ],
},
}, {
'cflags_cc': [ '<@(cflags)' ],
'libraries': [ '<@(ldflags)' ],
}],
],
},
],
}