summaryrefslogtreecommitdiff
path: root/llmr.gyp
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2014-02-13 15:34:22 -0800
committerJustin R. Miller <incanus@codesorcery.net>2014-02-13 15:34:22 -0800
commit14246346591e68bcda41930fa650a6ed94fe2681 (patch)
tree416278675ef703edccb33b72dec3870af2eadc8c /llmr.gyp
parentf887025b1d6538d935be036517ebe29735ec8f22 (diff)
downloadqtlocation-mapboxgl-14246346591e68bcda41930fa650a6ed94fe2681.tar.gz
automatically build shaders during Xcode builds
Diffstat (limited to 'llmr.gyp')
-rw-r--r--llmr.gyp16
1 files changed, 16 insertions, 0 deletions
diff --git a/llmr.gyp b/llmr.gyp
index 3ffa66de25..0d3be0bb67 100644
--- a/llmr.gyp
+++ b/llmr.gyp
@@ -13,6 +13,14 @@
'<!@(find include -name "*.hpp")',
'<!@(find src -name "*.glsl")'
],
+ 'actions': [
+ {
+ 'action_name': 'Build Shaders',
+ 'inputs': [],
+ 'outputs': [],
+ 'action': ['bin/build-shaders.js'],
+ },
+ ],
'xcode_settings': {
'SDKROOT': 'macosx',
'SUPPORTED_PLATFORMS':['macosx'],
@@ -64,6 +72,14 @@
'<!@(find include -name "*.hpp")',
'<!@(find src -name "*.glsl")'
],
+ 'actions': [
+ {
+ 'action_name': 'Build Shaders',
+ 'inputs': [],
+ 'outputs': [],
+ 'action': ['bin/build-shaders.js'],
+ },
+ ],
'xcode_settings': {
'SDKROOT': 'iphoneos',
'SUPPORTED_PLATFORMS':['iphonesimulator','iphoneos',],