automatically build shaders during Xcode builds
This commit is contained in:
16
llmr.gyp
16
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',],
|
||||
|
||||
Reference in New Issue
Block a user