Hi @all,

I've finally found a solution to the problem.

My solution is here: https://github.com/martinwag/test_cmake/tree/master

What I did:
- remove  "OBJECT" library targets as they do not work in combination with 
interface libraries
- added one install target per library, so I get one "lib*.a" archive per 
library (which is not what I need)
- added an post install target as described here: 
stackoverflow.com/questions/9998679 . This step creates a "thin" archive, that 
is packed with the other archives at cpack-time. This archive can be used as 
single file when linking in the consuming stage.

Regards,
Martin
 
 

-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to