Re: [CMake] Referencing an OBJECT library

2017-08-11 Thread Petr Kmoch
Hi Edward. "the reference to that OBJECT library is through $" - that is not quite true. When you're referring to the object library target itself (e.g. reading its properties), you use its name just like with any other target: get_property(someVar TARGET xxx PROPERTY TYPE) However, the genex

[CMake] Referencing an OBJECT library

2017-07-20 Thread Edward Diener
According to the CMake docs for an OBJECT library called, let's say, 'xxx', the reference to that OBJECT library is through $. I understand this but I am curious about the reason for such syntax. After all a STATIC or SHARED library 'xxx' you can just use xxx to refer to the library. Why the