@@ -35,6 +35,7 @@ UseProgLibs +=
3535if $(BVHSupport) = yes {
3636 if $(BVHProfiling) = yes {
3737 CPPopt += -DBVH_PROFILING_ENABLED=1 ;
38+ Target = $(Target:S=~p.lib) ;
3839 }
3940
4041 Sources = bvh.cpp bvh_context.cpp bvh_debug.cpp bvh_processors.cpp ;
@@ -43,72 +44,84 @@ if $(BVHSupport) = yes {
4344 Sources += bvh_terrain.cpp ;
4445 } else {
4546 Sources += stub/bvh_stub_terrain.cpp ;
47+ Target = $(Target:S=~nt.lib) ;
4648 }
4749
4850 if $(BVHRi) = yes {
4951 Sources += bvh_ri.cpp bvh_ri_gen.cpp bvh_ri_ex.cpp ;
5052 } else {
5153 Sources += stub/bvh_stub_ri.cpp ;
54+ Target = $(Target:S=~nri.lib) ;
5255 }
5356
5457 if $(BVHDynRend) = yes {
5558 Sources += bvh_dyn.cpp ;
5659 } else {
5760 Sources += stub/bvh_stub_dyn.cpp ;
61+ Target = $(Target:S=~ndm.lib) ;
5862 }
5963
6064 if $(BVHGpuObjects) = yes {
6165 Sources += bvh_gobj.cpp ;
6266 } else {
6367 Sources += stub/bvh_stub_gobj.cpp ;
68+ Target = $(Target:S=~ngo.lib) ;
6469 }
6570
6671 if $(BVHRandomGrass) = yes {
6772 Sources += bvh_grass.cpp ;
6873 } else {
6974 Sources += stub/bvh_stub_grass.cpp ;
75+ Target = $(Target:S=~ng.lib) ;
7076 }
7177
7278 if $(BVHCables) = yes {
7379 Sources += bvh_cables.cpp ;
7480 } else {
7581 Sources += stub/bvh_stub_cables.cpp ;
82+ Target = $(Target:S=~nc.lib) ;
7683 }
7784
7885 if $(BVHBinScene) = yes {
7986 Sources += bvh_bin_scene.cpp ;
8087 } else {
8188 Sources += stub/bvh_stub_bin_scene.cpp ;
89+ Target = $(Target:S=~ns.lib) ;
8290 }
8391
8492 if $(BVHFFTWater) = yes {
8593 Sources += bvh_fft_water.cpp ;
8694 } else {
8795 Sources += stub/bvh_stub_fft_water.cpp ;
96+ Target = $(Target:S=~nw.lib) ;
8897 }
8998
9099 if $(BVHDagdp) = yes {
91100 Sources += bvh_dagdp.cpp ;
92101 } else {
93102 Sources += stub/bvh_stub_dagdp.cpp ;
103+ Target = $(Target:S=~ndp.lib) ;
94104 }
95105
96106 if $(BVHGPUGrass) = yes {
97107 Sources += bvh_gpu_grass.cpp ;
98108 } else {
99109 Sources += stub/bvh_stub_gpu_grass.cpp ;
110+ Target = $(Target:S=~ngg.lib) ;
100111 }
101112
102113 if $(BVHSplineGen) = yes {
103114 Sources += bvh_splinegen.cpp ;
104115 } else {
105116 Sources += stub/bvh_stub_splinegen.cpp ;
117+ Target = $(Target:S=~nsg.lib) ;
106118 }
107119
108120 if $(BVHFx) = yes {
109121 Sources += bvh_fx.cpp ;
110122 } else {
111123 Sources += stub/bvh_stub_fx.cpp ;
124+ Target = $(Target:S=~nfx.lib) ;
112125 }
113126} else {
114127 Sources =
0 commit comments