2013-05-23 06:23:11 +00:00
|
|
|
{
|
|
|
|
'includes': [ 'common.gypi' ],
|
2013-05-23 07:46:55 +00:00
|
|
|
'default_configuration': 'Release',
|
2013-05-23 06:23:11 +00: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 07:15:18 +00: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 06:23:11 +00:00
|
|
|
'msvs_settings': {
|
2013-05-23 07:46:55 +00:00
|
|
|
'VCLinkerTool': {
|
|
|
|
'AdditionalLibraryDirectories': [
|
|
|
|
'<!@(mapnik-config --ldflags)'
|
|
|
|
]
|
|
|
|
}
|
2013-05-23 06:23:11 +00:00
|
|
|
}
|
|
|
|
}]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
}
|