test-prep-makefile-generatorsΒΆ
The
FASTBuildgenerator and the Makefile Generators now generatetest_prep/<test-name>andtest_prep/allconvenience build targets when theCMAKE_TEST_BUILD_DEPENDSvariable is enabled, matching the behavior of the Ninja Generators. These targets build the dependencies of tests added byadd_test(), including those listed with theBUILD_DEPENDSkeyword.