Skip to content

Commit

Permalink
Force recompiling the C++ if the .rs files changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Nov 19, 2021
1 parent cd312d9 commit 638562e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qttypes/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,9 @@ fn main() {
link_lib("Test");

println!("cargo:rerun-if-changed=src/lib.rs");
println!("cargo:rerun-if-changed=src/core/primitives.rs");
println!("cargo:rerun-if-changed=src/core/qbytearray.rs");
println!("cargo:rerun-if-changed=src/core/qstring.rs");
println!("cargo:rerun-if-changed=src/core/qurl.rs");
println!("cargo:rerun-if-changed=src/gui/qcolor.rs");
}

0 comments on commit 638562e

Please sign in to comment.