Steve,

While reviewing this topic I ran the ExportImport test to look for
generator expressions in a link interface property.  I do not see
any.  The test C++ code appears to verify that libraries are linked
but it is compiled into a static library as added by this commit:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=894f52f3#patch7

Therefore it never really links.  If I change add_library to
add_executable then the test fails with

 /usr/bin/ld: cannot find -ltestLibsDepends

If I fix the typo (s/Libs/Lib/) then it fails with

 deps_iface.cpp:(.text+0x11): undefined reference to `testLibDepends()'
 deps_iface.cpp:(.text+0x1f): undefined reference to 
`TestLibLibraryRequired::foo()'

because the library is not actually linked.

Please take a look.

Thanks,
-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to