Closed bartlettroscoe closed 2 years ago
While working on #510, I discovered that TriBITS is not enabling downstream packages that only have test dependencies on an upstream package. For example, if you configure TribitsExampleProject with:
-DTribitsExProj_ENABLE_MixedLang=ON \ -DTribitsExProj_ENABLE_TESTS=ON \ -DTribitsExProj_ENABLE_ALL_FORWARD_DEP_PACKAGES=ON \
you don't get the subpackage WithSubpackagesB enabled and have its test built even though that package has an optional test dependency on MixedLang.
WithSubpackagesB
MixedLang
Turns out TriBITS was doing the right thing. I just had not enabled ST packages when setting up my test.
Closing as INVALID.
While working on #510, I discovered that TriBITS is not enabling downstream packages that only have test dependencies on an upstream package. For example, if you configure TribitsExampleProject with:
you don't get the subpackage
WithSubpackagesB
enabled and have its test built even though that package has an optional test dependency onMixedLang
.