Giovanni Funchal wrote:
> Hi,
>
> The help page [1] mentions that:
>
>> Although object libraries may not be named directly in calls to the
>> target_link_libraries() command, they can be “linked” indirectly by
>> using an Interface Library whose INTERFACE_SOURCES target property
>> is set to na
Hi,
The help page [1] mentions that:
> Although object libraries may not be named directly in calls to the
> target_link_libraries() command, they can be “linked” indirectly by
> using an Interface Library whose INTERFACE_SOURCES target property
> is set to name $.
However, I was unable to get t
On 12/08/2016 04:01 PM, Robert Dailey wrote:
When I define my targets (custom, library, executable), does the order
of their declaration matter when it comes to using those targets in
dependencies? It's difficult to explain, so I'll show an example:
add_executable(foo main1.cpp)
target_link_li
When I define my targets (custom, library, executable), does the order
of their declaration matter when it comes to using those targets in
dependencies? It's difficult to explain, so I'll show an example:
add_executable(foo main1.cpp)
target_link_libraries(foo abc)
add_library(abc main2.cpp)
In