ALIAS and (not) globally visible targets

That’s a lot simpler than where I was headed. I extracted the properties from the “real” target and added them to my faux target.

The properties I found I needed to get working included:

  • INTERFACE_COMPILE_DEFINITIONS
  • INTERFACE_COMPILE_FEATURES
  • INTERFACE_INCLUDE_DIRECTORIES
  • INTERFACE_LINK_LIBRARIES
  • IMPORTED_LOCATION
  • IMPORTED_SONAME

If it works like I think (hope) it does, by just creating the “indirection” of link libraries on the “real” target, all those properties will be pulled from the underlying target?