mirror of
https://github.com/mapbox/node-fontnik.git
synced 2026-01-25 16:02:44 +00:00
37 lines
1.0 KiB
Python
37 lines
1.0 KiB
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'fontserver',
|
|
'sources': [
|
|
'src/fontserver.cpp',
|
|
'src/font.cpp',
|
|
'src/tile.cpp',
|
|
'src/shaping.cpp',
|
|
'src/clipper.cpp',
|
|
'src/sdf_renderer.cpp',
|
|
'src/distmap.c',
|
|
'src/edtaa4func.c',
|
|
'src/globals.cpp',
|
|
'src/metrics.pb.cc',
|
|
'src/vector_tile.pb.cc'
|
|
],
|
|
'include_dirs': [
|
|
'<!@(pkg-config pangoft2 --cflags-only-I | sed s/-I//g)',
|
|
'<!@(pkg-config protobuf --cflags-only-I | sed s/-I//g)',
|
|
],
|
|
'libraries': [
|
|
'<!@(pkg-config pangoft2 --libs)',
|
|
'<!@(pkg-config protobuf --libs)'
|
|
],
|
|
'xcode_settings': {
|
|
'OTHER_CPLUSPLUSFLAGS': ['-std=c++11', '-Wno-unused-variable'],
|
|
'GCC_ENABLE_CPP_RTTI': 'YES',
|
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
|
|
},
|
|
'cflags_cc!': ['-fno-rtti', '-fno-exceptions'],
|
|
'cflags_cc' : ['-std=c++0x', '-Wno-unused-variable'],
|
|
'cflags_c' : ['-std=c99'],
|
|
}
|
|
]
|
|
}
|