2013-05-23 08:23:11 +02:00
|
|
|
{
|
|
|
|
'includes': [ 'common.gypi' ],
|
2013-05-23 09:46:55 +02:00
|
|
|
'default_configuration': 'Release',
|
2013-05-23 08:23:11 +02:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'rundemo',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
|
|
|
'rundemo.cpp',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'OS=="mac"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lmapnik',
|
|
|
|
'-undefined dynamic_lookup'
|
|
|
|
],
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_CPLUSPLUSFLAGS':[
|
|
|
|
'<!@(mapnik-config --cflags)'
|
|
|
|
],
|
|
|
|
'GCC_ENABLE_CPP_RTTI': 'YES',
|
|
|
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
|
|
|
|
}
|
|
|
|
}],
|
|
|
|
[ 'OS=="win"', {
|
2013-05-23 09:15:18 +02:00
|
|
|
'defines': [
|
|
|
|
'<!@(mapnik-config --defines)',
|
|
|
|
],
|
|
|
|
'libraries': [
|
|
|
|
'<!@(mapnik-config --libs)',
|
|
|
|
'<!@(mapnik-config --dep-libs)'
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'<!@(mapnik-config --includes)',
|
|
|
|
'<!@(mapnik-config --dep-includes)',
|
|
|
|
],
|
2013-05-23 08:23:11 +02:00
|
|
|
'msvs_settings': {
|
2013-05-23 09:46:55 +02:00
|
|
|
'VCLinkerTool': {
|
|
|
|
'AdditionalLibraryDirectories': [
|
|
|
|
'<!@(mapnik-config --ldflags)'
|
|
|
|
]
|
|
|
|
}
|
2013-05-23 08:23:11 +02:00
|
|
|
}
|
|
|
|
}]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
}
|