summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/build.ninja
blob: 54b099e0b6f4f9db4da6be1bea5d00255e8f4654 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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