summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/build.ninja
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-08-06 14:20:16 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-08-06 14:20:16 +0200
commit3917850b6197950e5671f4d3b9cb0b9c921b798d (patch)
tree503b9690868a7c238ba10d73b5c6bece7ca8c338 /3rdparty/bgfx/scripts/build.ninja
parent057474989c1a92e9e935dbc8cb9d233ba3a4ea3a (diff)
Update BX and BGFX (nw)
Diffstat (limited to '3rdparty/bgfx/scripts/build.ninja')
-rw-r--r--3rdparty/bgfx/scripts/build.ninja36
1 files changed, 36 insertions, 0 deletions
diff --git a/3rdparty/bgfx/scripts/build.ninja b/3rdparty/bgfx/scripts/build.ninja
new file mode 100644
index 00000000000..54b099e0b6f
--- /dev/null
+++ b/3rdparty/bgfx/scripts/build.ninja
@@ -0,0 +1,36 @@
+builddir = ../.build
+
+rule geometryc_pack_normal
+ command = geometryc -f $in -o $out --packnormal 1
+ description = Converting geometry $in...
+
+rule geometryc_pack_normal_barycentric
+ command = geometryc -f $in -o $out --packnormal 1 --barycentric
+ description = Converting geometry $in...
+
+rule texturec_bc1
+ command = texturec -f $in -o $out -t bc1 -m
+
+rule texturec_bc2
+ command = texturec -f $in -o $out -t bc2 -m
+
+rule texturec_bc3
+ command = texturec -f $in -o $out -t bc3 -m
+
+rule texturec_bc4
+ command = texturec -f $in -o $out -t bc4 -m
+
+rule texturec_bc5
+ command = texturec -f $in -o $out -t bc5 -m
+
+rule texturec_etc1
+ command = texturec -f $in -o $out -t etc1 -m
+
+rule texturec_etc2
+ command = texturec -f $in -o $out -t etc2 -m
+
+pwd = ../examples/assets/meshes
+subninja ../examples/assets/meshes/meshes.ninja
+
+pwd = ../examples/assets/textures
+subninja ../examples/assets/textures/textures.ninja