|
|
@ -1,7 +1,6 @@ |
|
|
|
{ |
|
|
|
'variables': { |
|
|
|
# Set the location of GTK all-in-one bundle |
|
|
|
'GTK_Root': 'C:/GTK', |
|
|
|
'GTK_Root': 'C:/GTK' # Set the location of GTK all-in-one bundle |
|
|
|
}, |
|
|
|
'targets': [ |
|
|
|
{ |
|
|
@ -17,14 +16,18 @@ |
|
|
|
'src/init.cc', |
|
|
|
'src/PixelArray.cc', |
|
|
|
], |
|
|
|
'conditions': [ |
|
|
|
['OS=="win"', { |
|
|
|
'libraries': ['-l<(GTK_Root)/lib/cairo.lib' ], |
|
|
|
'include_dirs': [ |
|
|
|
'<(GTK_Root)/include/cairo', |
|
|
|
'<(GTK_Root)/include', |
|
|
|
], |
|
|
|
'defines': [ |
|
|
|
'snprintf=_snprintf', |
|
|
|
'_USE_MATH_DEFINES' # for M_PI |
|
|
|
], |
|
|
|
] |
|
|
|
}] |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|