[cmake-developers] Policy for INTERFACE_LINK_LIBRARIES

Stephen Kelly steveire at gmail.com
Fri Nov 30 11:50:39 EST 2012


Stephen Kelly wrote:

> Brad King wrote:
> 
>> On 11/30/2012 11:07 AM, Stephen Kelly wrote:
>>> Brad King wrote:
>>>> Please restart your INTERFACE_LINK_LIBRARIES topic on master
>>> 
>>> Thanks, I've done that now.
>> 
>> The target_link_libraries test fails:
>> 
>>  http://open.cdash.org/testDetails.php?test=168404487&build=2691368
>>  ...
>>  CMake Warning (dev) in CMakeLists.txt:
>>   The INTERFACE_LINK_LIBRARIES and LINK_INTERFACE_LIBRARIES are not the
>>   same for target "depC".
>> 
>>   NEW content is "$<1:depA>"
>> 
>>   OLD content is "$<1:depA>"
>> 
>>   Policy CMP0019 is not set: Use INTERFACE_LINK_LIBRARIES instead of
>>   LINK_INTERFACE_LIBRARIES_<CONFIG>.  Run "cmake --help-policy CMP0019"
>>   for
>>   policy details.  Use the cmake_policy command to set the policy and
>>   suppress this warning.
>>  ...
>>  NMAKE : warning U4006: special macro undefined : '$<1:depA>'
>>  LINK : fatal error LNK1104: cannot open file '1:depA>.obj'
> 
> Strange, it passes for me. I get 'This build doesn't exist.' when I try to
> visit that url.
> 
>> Also, for static libraries the exports should not look at the
>> INTERFACE_LINK_LIBRARIES property.
> 
> Ok, I'm looking into the static libraries issue now.
> 

That test, as it currently appears in next, does not create any static 
libraries. Is it possible that build only broke because of the reverts and 
because continuous builds are not clean builds?

Thanks,

Steve.





More information about the cmake-developers mailing list