[CMake] add_test to support generator expressions?
Stephen Kelly
steveire at gmail.com
Tue Oct 27 14:58:27 EDT 2015
Chris Green wrote:
> Ah, I see. It appears I was unclear on the difference between target and
> test. What I actually want is the *test* property SKIP_RETURN_CODE,
> which there does not seem to be any way to access via a generator
> expression. Looks like I'm out of look, unless this is an upcoming
> feature?
Generator expressions are generally only useful for things which are
determined at generate-time.
Can't you just read the test property at configure-time instead? You're the
one setting the property, right?
Thanks,
Steve.
More information about the CMake
mailing list