ake.org>> on behalf
of Saad Khattak <saadrus...@gmail.com<mailto:saadrus...@gmail.com>>
Date: Thursday 14 December 2017 at 03:20
To: Craig Scott <craig.sc...@crascit.com<mailto:craig.sc...@crascit.com>>
Cc: Cmake Mailing List <cmake@cmake.org<mailto:cmake@cmake
hattak <
> saadrus...@gmail.com>
> *Date: *Thursday 14 December 2017 at 03:20
> *To: *Craig Scott <craig.sc...@crascit.com>
> *Cc: *Cmake Mailing List <cmake@cmake.org>
> *Subject: *Re: [CMake] Using SET_TARGET_PROPERTIES and
> IMPORTED_LINK_INTERFACE_LIBRARIES
>
&
r 2017 at 03:20
> *To: *Craig Scott <craig.sc...@crascit.com>
> *Cc: *Cmake Mailing List <cmake@cmake.org>
> *Subject: *Re: [CMake] Using SET_TARGET_PROPERTIES and
> IMPORTED_LINK_INTERFACE_LIBRARIES
>
>
>
> Thanks Craig for your reply.
>
>
>
> The is
LibD PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES LibA LibB)
From: CMake <cmake-boun...@cmake.org> on behalf of Saad Khattak
<saadrus...@gmail.com>
Date: Thursday 14 December 2017 at 03:20
To: Craig Scott <craig.sc...@crascit.com>
Cc: Cmake Mailing List <cmake@cmake.org>
Su
Hi Saad,
have you read the docs on IMPORTED_LINK_INTERFACE_LIBRARIES? (
https://cmake.org/cmake/help/latest/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.html
):
"This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead."
Setting INTERFACE_LINK_LIBRARIES to "LibA;LibB" should do exactly
Thanks Craig for your reply.
The issue is that both "LibA" and "LibB" have been set using
"add_library(LibA STATIC IMPORTED)" and "add_library(LibB IMPORTED)" and
both have some properties that are being set.
Ultimately, CMake recognizes LibA and LibB as CMake library projects, and
they have
On Thu, Dec 14, 2017 at 8:22 AM, Saad Khattak wrote:
> Hi,
>
> I have several imported libraries:
>
> LibA
> LibB
> LibC
>
> Where each imported library has been populated by (where ${LIB_NAME} is
> either LibA, LibB or LibC):
>
> add_library(${LIB_NAME} STATIC IMPORTED)
>
Hi,
I have several imported libraries:
LibA
LibB
LibC
Where each imported library has been populated by (where ${LIB_NAME} is
either LibA, LibB or LibC):
add_library(${LIB_NAME} STATIC IMPORTED)
And each library has the properties IMPORT_LOCATION_${CONFIGURATION} set
properly: