dascandy / evoke

Magic build tool
Apache License 2.0
167 stars 17 forks source link

Executables not rebuilt when a library dependency gets rebuilt #74

Closed muggenhor closed 4 years ago

muggenhor commented 5 years ago

Describe the bug Given this directory structure, where both .cpp files include the .hpp file as <xxx/xxx.hpp>:

To Reproduce Changing xxx/src/xxx.cpp's content will cause lib/libxxx.a to be rebuilt. But it won't cause bin/xxx_test to be rebuilt. That only happens when xxx/test/test.cpp or xxx/include/xxx/xxx.hpp is changed.

Expected behavior Changing source files should not just affect their direct outputs but their indirect ones as well.

System (please complete the following information):

dascandy commented 4 years ago

Fixed on daemon branch, just now merged to main. Can you check?

dascandy commented 4 years ago

Closing due to inactivity. There is an integration test verifying this.