Re: [CMake] Generator expression for "is in list"?

2018-04-09 Thread CHEVRIER, Marc
5 To: "cmake@cmake.org" <cmake@cmake.org> Subject: [CMake] Generator expression for "is in list"? Hello list! I'm trying to write a generator expression that only evaluates if my target is directly (not transitively) linked into the consuming target. I figured the e

[CMake] Generator expression for "is in list"?

2018-04-07 Thread Sam Edwards
Hello list! I'm trying to write a generator expression that only evaluates if my target is directly (not transitively) linked into the consuming target. I figured the easiest way to do that would be to test if the target's name appears in $, however I'm not seeing a generator expression for