build-depends-genexΒΆ
The
BUILD_DEPENDSoptions of theadd_test(),discover_tests()andinstall()commands, and theCMAKE_TEST_BUILD_DEPENDSdirectory property, now supportgenerator expressions. Targets referenced by an expression, such as$<TARGET_FILE:tgt>, become dependencies, and entries evaluating to an empty string are ignored.