Blender Git Loki

Git Commits -> Revision df816d5

Revision df816d5 by Dalai Felinto (master)
October 17, 2018, 00:24 (GMT)
Fix cmake not triggering rebuild on .glsl changes

At least on windows we do not re-run datatoc when the .glsl files change.

To test is simple, just change edit_mesh_overlay_common_lib.glsl
remove lines, write plain text, ..., now rebuild and go in edit mode
with the default cube.

I also had to remove the entry in gpu/CMakeLists.txt for
gpu_shader_material.glsl since this was being tracked directly, as well
as running data_to_c_simple (otherwise CMake raises an error for
duplicated entries).

We probably want to do the same for the other datatoc functions.

Reviewers: LazyDodo, brecht
Differential Revision: https://developer.blender.org/D3803

Commit Details:

Full Hash: df816d534f195b9a38383e8b0dd806d0586a6fc0
Parent Commit: b618c18
Committed By: Campbell Barton
Lines Changed: +2, -22

2 Modified Paths:

/build_files/cmake/macros.cmake (+2, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+0, -22) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021