You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, there is an important benefit: there is no need to recursively fetch the include directories introduced by target_link_library. For instance, if a library is linked publicly, its interface headers will also be visible. I test in my complicated project and it finds all include paths correctly.
The drawback may be the dependency on a higher version of CMake. However, I haven't tested whether this code works on cmake-version 3.0.
The text was updated successfully, but these errors were encountered:
Hi there, the support for generator expressions has evolved since before v3.0.
As far as I know, things like TARGET_PROPERTY do not exist in version 3.0 and I'd like to keep this as widely available as possible.
I think there is a simple way to implement these functions
if use cmake generate expressions , each function will be only one line.
In addition, there is an important benefit: there is no need to recursively fetch the include directories introduced by target_link_library. For instance, if a library is linked publicly, its interface headers will also be visible. I test in my complicated project and it finds all include paths correctly.
The drawback may be the dependency on a higher version of CMake. However, I haven't tested whether this code works on cmake-version 3.0.
The text was updated successfully, but these errors were encountered: