I need some guidance. I am writing a find module for a package that defines
multiple library archives, includes and Fortran module files. I would like
to make a "best practices" and "modern" find module and define a target so
that transitive properties are propagated correctly. I would like to define
two components, the base package itself (multiple library files and Fortran
module files) and then the C interface (additional library file and C
include files).

The biggest point of confusion: Is there a way to define a single target
that can be passed to target_link_libraries() that will cause the
*multiple* (imported) library archives of the base package to linked in?
Can I define it in such a way that it is namespaced like Foo::Foo?

For an optional component, then do I specify an additional target for that


Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 

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 

Follow this link to subscribe/unsubscribe:

Reply via email to