summaryrefslogtreecommitdiffstats
path: root/prelude
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-01-24 17:29:09 +0800
committerGitHub <noreply@github.com>2024-01-24 17:29:09 +0800
commit4e7e820c3dda716334ccbe9854379e46d8d332bb (patch)
tree2b1456d26133d901c397bd64391494ed1ac44c41 /prelude
parentba4baf41155afcc4943dcc3887a7c7a324607939 (diff)
Generate lookup tables from cmake (#3461)
* Generate lookup tables from cmake * Correct add_custom_command generator dependencies * set options for lookup table source * include path * use slang_add_target for capability generated targets * vs project regenerate * ci wobble --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'prelude')
-rw-r--r--prelude/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/prelude/CMakeLists.txt b/prelude/CMakeLists.txt
index 751aa9a5c..6b5c190e7 100644
--- a/prelude/CMakeLists.txt
+++ b/prelude/CMakeLists.txt
@@ -12,7 +12,7 @@ foreach(input ${SLANG_PRELUDE_HEADERS})
add_custom_command(
OUTPUT ${output}
COMMAND slang-embed "${input}" ${output}
- DEPENDS ${input}
+ DEPENDS ${input} slang-embed
VERBATIM
)
list(APPEND SLANG_PRELUDE_SOURCE ${output})