I swear I asked this a while back and there was an example given, but I
have been unable to find it since. With changes done for CMake 3.11, I
think the question deserves asking again anyway.

Does anyone know of a specific example scenario where an INTERFACE IMPORTED
library is the right choice over simply INTERFACE or IMPORTED on its own?
I'm trying to understand what an "INTERFACE IMPORTED" library is primarily
used for and it seems others are equally confused. Now that some of the
restrictions around imported libraries have been relaxed
<https://gitlab.kitware.com/cmake/cmake/merge_requests/1264>, the
differences seem even less obvious. Anyone able to put forward a scenario?
If we can clarify this well, I'm happy to update the docs to make it clear
for everyone (okay, and so I can find it again in the future :P ).

-- 
Craig Scott
Melbourne, Australia
https://crascit.com
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to