summaryrefslogtreecommitdiffstats
path: root/o3d/samples
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples')
-rw-r--r--o3d/samples/samples_gen.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/o3d/samples/samples_gen.py b/o3d/samples/samples_gen.py
index 94ca89d..cb999c1 100644
--- a/o3d/samples/samples_gen.py
+++ b/o3d/samples/samples_gen.py
@@ -99,7 +99,6 @@ for asset in assets:
output_file.write(" {\n")
output_file.write(" 'action_name': '%s',\n" % name)
output_file.write(" 'inputs': [\n")
- output_file.write(" '<(PRODUCT_DIR)/o3dConverter',\n")
output_file.write(" '../o3d_assets/samples/%s',\n" % asset['path'])
output_file.write(" ],\n")
output_file.write(" 'outputs': [\n")
@@ -113,10 +112,16 @@ for asset in assets:
output_file.write(" '../samples/%s',\n" % output)
output_file.write(" ],\n")
output_file.write(" 'action': [\n")
+ if sys.platform[:5] == 'linux':
+ output_file.write(" 'LD_LIBRARY_PATH=<(PRODUCT_DIR):"
+ ":<(PRODUCT_DIR)/lib"
+ ":../../<(glewdir)/lib"
+ ":../../<<(PRODUCT_DIR)/lib"
+ "',\n")
output_file.write(" '<(PRODUCT_DIR)/o3dConverter',\n")
output_file.write(" '--no-condition',\n")
output_file.write(" '--up-axis=%s',\n" % asset['up'])
- output_file.write(" '../o3d_assets/samples/%s',\n" % asset['path'])
+ output_file.write(" '<(_inputs)',\n")
output_file.write(" '<(_outputs)',\n")
output_file.write(" ],\n")
output_file.write(" },\n")