diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-10 13:30:42 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-10 18:07:06 +0100 |
commit | 38db1eecbbb048fcb9edcc4302ea3e4ea8e4e508 (patch) | |
tree | 06f96d19bc390de70bb6832fd30a4fb153c9d107 /glsl.jam | |
parent | Simplify in/out in materialInterface (diff) | |
download | ilt-38db1eecbbb048fcb9edcc4302ea3e4ea8e4e508.tar.bz2 ilt-38db1eecbbb048fcb9edcc4302ea3e4ea8e4e508.tar.xz ilt-38db1eecbbb048fcb9edcc4302ea3e4ea8e4e508.zip |
Reduce the amount of unnecessary rebuilds on shader source changes
Diffstat (limited to 'glsl.jam')
-rw-r--r-- | glsl.jam | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,6 +37,8 @@ actions glsl.embed rule glsl.embed ( targets * : sources * : properties * ) { - DEPENDS $(targets) : lib/embed-glsl.h.m4 lib/embed-glsl.cpp.m4 ; + NOUPDATE $(targets[2]) ; + DEPENDS $(targets[2]) : lib/embed-glsl.h.m4 ; + DEPENDS $(targets[1]) $(targets[3]) : lib/embed-glsl.cpp.m4 ; OPTIONS on $(targets) = [ type.type $(sources) ] ; } |