summaryrefslogtreecommitdiff
path: root/glsl.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-08-10 13:30:42 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-08-10 18:07:06 +0100
commit38db1eecbbb048fcb9edcc4302ea3e4ea8e4e508 (patch)
tree06f96d19bc390de70bb6832fd30a4fb153c9d107 /glsl.jam
parentSimplify in/out in materialInterface (diff)
downloadilt-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.jam4
1 files changed, 3 insertions, 1 deletions
diff --git a/glsl.jam b/glsl.jam
index eeeb340..20ef180 100644
--- a/glsl.jam
+++ b/glsl.jam
@@ -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) ] ;
}