Blender Git Commit Log

Git Commits -> Revision 28a3958

Revision 28a3958 by Dalai Felinto (master)
October 16, 2018, 19:58 (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: 28a3958cb376507307b59479c5a93fb4ecc28f79
Parent Commit: 90d1d39
Lines Changed: +2, -2

2 Modified Paths:

/build_files/cmake/macros.cmake (+2, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+0, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021