rundemo standalone build fixes
This commit is contained in:
parent
9107046508
commit
9ede00abf8
2 changed files with 18 additions and 8 deletions
|
@ -37,8 +37,14 @@ To install gyp, which is pure python do:
|
||||||
|
|
||||||
svn checkout http://gyp.googlecode.com/svn/trunk/ gyp
|
svn checkout http://gyp.googlecode.com/svn/trunk/ gyp
|
||||||
cd gyp
|
cd gyp
|
||||||
sudo python setup.py install
|
python setup.py install
|
||||||
|
|
||||||
|
If you do not have svn installed you can grab gyp from:
|
||||||
|
|
||||||
|
https://github.com/TooTallNate/node-gyp/archive/master.zip
|
||||||
|
# unzip and extract the 'gyp' subfolder then do
|
||||||
|
cd gyp
|
||||||
|
python setup.py install
|
||||||
|
|
||||||
## Building the demo
|
## Building the demo
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,5 @@
|
||||||
{
|
{
|
||||||
'includes': [ 'common.gypi' ],
|
'includes': [ 'common.gypi' ],
|
||||||
'include_dirs': [
|
|
||||||
'<!@(mapnik-config --includes)',
|
|
||||||
'<!@(mapnik-config --dep-includes)',
|
|
||||||
],
|
|
||||||
'defines': [
|
|
||||||
'<!@(mapnik-config --defines)',
|
|
||||||
],
|
|
||||||
'targets': [
|
'targets': [
|
||||||
{
|
{
|
||||||
'target_name': 'rundemo',
|
'target_name': 'rundemo',
|
||||||
|
@ -29,6 +22,17 @@
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
[ 'OS=="win"', {
|
[ 'OS=="win"', {
|
||||||
|
'defines': [
|
||||||
|
'<!@(mapnik-config --defines)',
|
||||||
|
],
|
||||||
|
'libraries': [
|
||||||
|
'<!@(mapnik-config --libs)',
|
||||||
|
'<!@(mapnik-config --dep-libs)'
|
||||||
|
],
|
||||||
|
'include_dirs': [
|
||||||
|
'<!@(mapnik-config --includes)',
|
||||||
|
'<!@(mapnik-config --dep-includes)',
|
||||||
|
],
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'AdditionalLibraryDirectories': [
|
'AdditionalLibraryDirectories': [
|
||||||
'<!@(mapnik-config --ldflags)'
|
'<!@(mapnik-config --ldflags)'
|
||||||
|
|
Loading…
Reference in a new issue