[cmake-developers] Generator Expressions and packages (Was: target_link_libraries and --start-group/--end-group ?)
Stephen Kelly
steveire at gmail.com
Sat Jan 24 10:05:36 EST 2015
Robert Goulet wrote:
> To be honest I haven't spent much time trying to learn 'imported'
> libraries with CMake. It was already difficult to deal with commands that
> don't support generator expressions versus those that does. It wasn't
> clear which commands we should not try to use because of that, and in the
> end we had to rewrite part of the CMakeLists.txt file because we wanted to
> use generator expressions and packages.
The commands which accept generator expressions document that they support
generator expressions. I'm not aware of any gaps there.
I have had a note locally to add more-comprehensive linking in the other
direction from
http://www.cmake.org/cmake/help/v3.1/manual/cmake-generator-expressions.7.html
but it's not done yet.
Thanks for the feedback!
Steve.
More information about the cmake-developers
mailing list