From 25b95aa1a13f250186855f31a237dbd62c589470 Mon Sep 17 00:00:00 2001 From: Martina Kollarova Date: Tue, 6 Mar 2018 14:55:53 +0200 Subject: [PATCH] Regenerate all WebIDLs when one of them changes WebIDL files have dependencies between each other, but cmake doesn't have any information about them. This can cause it to not update all the changed bindings when switching branches. --- components/script/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/CMakeLists.txt b/components/script/CMakeLists.txt index 54936386b80..9bebca68268 100644 --- a/components/script/CMakeLists.txt +++ b/components/script/CMakeLists.txt @@ -106,7 +106,7 @@ foreach(binding IN LISTS bindings) . Bindings/${binding}Binding ${webidls_src}/${binding}.webidl - DEPENDS Bindings ${bindinggen_deps} ${webidls_src}/${binding}.webidl ParserResults + DEPENDS Bindings ${bindinggen_deps} ${webidls} ParserResults VERBATIM ) add_custom_target(${binding} DEPENDS Bindings/${binding}Binding.rs)